home *** CD-ROM | disk | FTP | other *** search
/ The Complete Utilities To…ka 501 Killer Utilities! / 501 Killer Utilities! (Macworld July 1995).cdr / Programming / RLaB / ChangeLog < prev    next >
Encoding:
Text File  |  1995-01-25  |  75.2 KB  |  2,769 lines  |  [TEXT/ttxt]

  1. Tue Jan 24 20:08:59 1995  Ian Searle  <ian@espresso>
  2.  
  3.     * Version 1.17d released.
  4.  
  5.     * rfile.c (require): Check to see if the variable required is an
  6.     UNDEF. 
  7.  
  8. Sun Jan 22 19:46:44 1995  Ian Searle  <ian@espresso>
  9.  
  10.     * test (listest): Add open-list assignment test.
  11.  
  12.     * code.c (olist_assign): New function.
  13.  
  14. Mon Jan 16 23:16:05 1995  Ian Searle  <ian@espresso>
  15.  
  16.     * rlib/intersection.r (intersection): Initialize Int=[]. Thanks
  17.     Rogelio Oliva.
  18.  
  19. Sun Jan 15 18:58:43 1995  Ian Searle  <ian@espresso>
  20.  
  21.     * math_1.c (Frexp): New function.
  22.  
  23. Tue Jan 10 19:01:56 1995  Ian Searle  <ian@espresso>
  24.  
  25.     * rlib/input.r (input): Check STRING arg to see if it exists.
  26.  
  27. Sun Jan  8 12:05:58 1995  Ian Searle  <ian@espresso>
  28.  
  29.     * getline.c (Getline): Allow getline to read in an entire line as
  30.     a single string.
  31.  
  32. Mon Jan  2 10:26:55 1995  Ian Searle  <ian@espresso>
  33.  
  34.     * bio.c (btree_WriteB): Write the number of _real_ nodes in the
  35.     tree. 
  36.  
  37.     * btree.c (btree_Write): Write the number of _real_ nodes in the
  38.     tree. 
  39.  
  40. Tue Dec 27 00:17:37 1994  Ian Searle  <ian@espresso>
  41.  
  42.     *  (toolbox/hilbert.r): New file.
  43.  
  44.     * math_2.c (Norm): Compute infinity norm when 2nd argument to
  45.     norm() is an Inf.
  46.  
  47. Mon Dec 26 12:26:54 1994  Ian Searle  <ian@espresso>
  48.  
  49.     * scan.l: Increment lineno on end of RFILE_COND and REQ_COND.
  50.  
  51. Fri Dec 23 14:20:54 1994  Ian Searle  <ian@espresso>
  52.  
  53.     * Version 1.16b released...
  54.  
  55. Thu Dec 22 20:51:27 1994  Ian Searle  <ian@espresso>
  56.  
  57.     *  (doc/rlabp.tex): Incorporated Dave Raymon's primer patches so
  58.     that is works OK under laTeX-2e.
  59.  
  60. Sun Dec 18 18:27:07 1994  Ian Searle  <ian@espresso>
  61.  
  62.     * rfile.c (require): New function.
  63.  
  64.     * bltin2.c: Set tictime to -1 (initialize) so it works on older
  65.     SunOSes.
  66.  
  67. Fri Dec 16 20:41:01 1994  Ian Searle  <ian@espresso>
  68.  
  69.     * fpe.c: Added include <math.h> for HP-UX.
  70.     Added some stuff for the DEC-alpha (still doesn't work like I want
  71.     it to).
  72.  
  73.     * bltin2.c (Tic): Use sysconf instead of CLK_TCK.
  74.  
  75. Thu Dec 15 22:01:20 1994  Ian Searle  <ian@espresso>
  76.  
  77.     * r_plot.c: Change header includes per tsy's suggestions. 
  78.     Go back... plConfig.h is only installed for Mac and Amigas. Causes
  79.     problems with Unix installations.
  80.  
  81. Mon Dec 12 22:54:11 1994  Ian Searle  <ian@espresso>
  82.  
  83.     * fpe.c: Add in change for those systems that don't have either
  84.     ieee_handler or ieeefp.h (linux).
  85.  
  86. Sun Dec 11 16:42:33 1994  Ian Searle  <ian@espresso>
  87.  
  88.     * scan.l: Fix lineno counting on comments.
  89.  
  90.     * Release version 1.15e.
  91.  
  92. Sat Dec 10 11:30:10 1994  Ian Searle  <ian@espresso>
  93.  
  94.     * rfile.c (rfile_load): Mods to handle multiple file names, and
  95.     deal with optional `.r'.
  96.     (rfile_ext): New function.
  97.  
  98.     * scan.l: Overhaul rfile command scanning.
  99.  
  100.     * util.c (strappend): New function.
  101.  
  102. Thu Dec  8 19:20:07 1994  ian  <ian@espresso>
  103.  
  104.     * scan.l: Add Matlab style comments as an option.
  105.  
  106. Fri Dec  2 20:15:30 1994  ian  <ian@espresso>
  107.  
  108.     * scan.l: Allow comments on the same line as rfile and help.
  109.  
  110. Wed Nov 30 19:09:30 1994  ian  <ian@espresso>
  111.  
  112.     * rlib/compan.r: fixed bug in computation of A when n == 2.
  113.  
  114. Sun Nov 27 18:48:40 1994  ian  <ian@espresso>
  115.  
  116.     * misc/plplot.r: Several little mods: Added set3d(), mods to
  117.     pclose(), and subplot().
  118.  
  119.     * bltin2.c (Toc): New functions, utilizing times(), a more
  120.     accurate measurment device.
  121.  
  122. Thu Nov 24 10:44:49 1994  ian  <ian@espresso>
  123.  
  124.     * Update configure.in, Makefile.in, etc to use autoconf v2.x
  125.  
  126. Wed Nov 16 23:23:49 1994  ian  <ian@espresso>
  127.  
  128.     * Just moved the entire code-tree over to espresso (my new
  129.     Pentium). 
  130.  
  131. Wed Nov  9 21:53:35 1994  Ian Searle  <ian@quixote>
  132.  
  133.     * symbol.c (install_tmp_switch): Add BLTIN to switch.
  134.  
  135.     * code.c (bltin): Get the listnode on the tmplist for assign().
  136.  
  137.     * rdl.c (DLopen): Return a bltin, not a listnode.
  138.  
  139. Tue Nov  8 06:16:06 1994  Ian Searle  <ian@quixote>
  140.  
  141.     * code.c (load_local_var): Use cpstr() for pass by value.
  142.  
  143.     * misc/plplot.r (pclose): Modify so that it can handle closing
  144.     when no plot windows exist.
  145.  
  146. Sun Nov  6 09:45:05 1994  Ian Searle  <ian@quixote>
  147.  
  148.     * Release v1.15b
  149.  
  150. Sat Oct 29 09:31:07 1994  Ian Searle  <ian@quixote>
  151.  
  152.     * function.c (function_setup2): Cut back size of program array. 
  153.  
  154.     * code.c (list_create): Change list-element create name to "-L-". 
  155.  
  156.     * Revised all flow-control logic. Instead of using ifcode(),
  157.     forcode(), whilecode(), the parser now generates codes for
  158.     conditional jumps and for loop construction with explicit
  159.     jumps. This required significant changes to main.c, rlab.y
  160.     code.[ch], diss.c, etc...
  161.  
  162. Fri Oct 28 23:17:15 1994  Ian Searle  <ian@quixote>
  163.  
  164.     * scalar.c (scalar_CreateC): Remove references to obsolete `dtype'
  165.     structure member.
  166.  
  167.     * symbol.c (install_tmp): Change tmplist scheme to include a
  168.     tmpstack of already allocated ListNodes in an effort to save time
  169.     during execution.
  170.  
  171. Fri Oct 21 20:50:50 1994  Ian Searle  <ian@quixote>
  172.  
  173.     * Release v1.13b.
  174.  
  175. Sat Oct  8 15:30:53 1994  Ian Searle  <ian@quixote>
  176.  
  177.     * fi_1.c (matrix_Det_Complex): Warn and return zero when matrix is
  178.     singular. 
  179.     (matrix_Det_Real): Same as above.
  180.  
  181. Thu Oct  6 20:02:14 1994  Ian Searle  <ian@quixote>
  182.  
  183.     * code.c (copy_arg): Copy name to data structure.
  184.  
  185. Fri Sep 30 20:11:13 1994  Ian Searle  <ian@quixote>
  186.  
  187.     * scan.l (new_file): Try and repair some small mem leaks (bst).
  188.  
  189.     * util.c (btree_members): Fix memory leak (bst).
  190.  
  191. Thu Sep 29 23:05:11 1994  Ian Searle  <ian@quixote>
  192.  
  193.     * misc/plplot.r (plot3): Take care of log-log-log data
  194.     possibility. 
  195.  
  196. Wed Sep 28 19:36:39 1994  Ian Searle  <ian@quixote>
  197.  
  198.     * odei.c (odei): Add optional last argument (8), a user supplied
  199.     output function.
  200.     (out_func): New function.
  201.  
  202. Sun Sep 25 19:46:29 1994  Ian Searle  <ian@quixote>
  203.  
  204.     * matop2.c (matrix_ReadGeneric): Check fscanf() return value.
  205.  
  206. Sat Sep 24 11:27:43 1994  Ian Searle  <ian@quixote>
  207.  
  208.     * code.c (load_local_var): Add nargin initialization.
  209.  
  210.     * misc/plplot.r: Check for previously existing WIN
  211.     before creating new one.
  212.  
  213. Mon Sep 19 18:33:14 1994  Ian Searle  <ian@quixote>
  214.  
  215.     * BIG CHANGE: Undeclared function variables are default local
  216.     now. 
  217.  
  218. Sat Sep 17 09:13:57 1994  Ian Searle  <ian@quixote>
  219.  
  220.     * configure.in: Make configure look for plplot in
  221.     /usr/local/plplot and /usr/local/... Also make trying to use
  222.     dynamic linking standard, and well as using the case statement for
  223.     option flags.
  224.  
  225. Thu Sep 15 17:12:56 1994  Ian Searle  <ian@quixote>
  226.  
  227.     * misc/plplot.r (y_scales): More bug fixes in y_scale().
  228.  
  229. Tue Sep 13 22:20:15 1994  Ian Searle  <ian@quixote>
  230.  
  231.     * r_plot.c (_plot_plsfile): New function.
  232.  
  233. Mon Sep 12 20:31:29 1994  Ian Searle  <ian@quixote>
  234.  
  235.     * rdl.c (DLopen): Check for RTLD_NOW.
  236.  
  237.     * print.c (SPrintf): Change argument cleanup... use inlined
  238.     clean-up function...
  239.  
  240.     * math_1.c (Floor): Try and recover some speed from earlier
  241.     changes... 
  242.  
  243. Sat Sep 10 23:19:33 1994  Ian Searle  <ian@quixote>
  244.  
  245.     * Major overhaul to built-in function argument handling. Instead
  246.     of bltin() handling the argument tmp-cleanup, each builtin is now
  247.     responsible. This may sound more difficult, but it will be easier
  248.     in the long run, especially for people writing rex files.
  249.  
  250. Sun Sep  4 12:26:43 1994  Ian Searle  (ian@quixote)
  251.  
  252.     * main.c (Eval): Make eval() work with any kind of string (matrix,
  253.     or scalar).
  254.  
  255.     * test: New tests for factor/backsub, real/complex ,
  256.     general/symmetric. 
  257.  
  258.     * Add symmetric linear equation solver usage for solve(), `\',
  259.     factor, and backsub.
  260.  
  261. Wed Aug 24 19:15:31 1994  Ian Searle  (ian@quixote)
  262.  
  263.     * bltin2.c (Putenv): New function.
  264.  
  265.     * configure.in: Some bug fixes, and improvements...
  266.  
  267. Tue Aug 23 17:42:42 1994  Ian Searle  (ian@quixote)
  268.  
  269.     * function.c (function_Copy): Always create arg and local lists on
  270.     copy. 
  271.  
  272. Mon Aug 22 23:21:58 1994  Ian Searle  (ian@quixote)
  273.  
  274.     * matop2.c (matrix_Pow2): Added more complete checking of
  275.     element-by-element power ops for various combinations of scalars
  276.     and matrices.
  277.     (matrix_matrix_el_pow): Check individual matrix entries for proper
  278.     conditions. 
  279.  
  280. Sun Aug 21 00:22:58 1994  Ian Searle  (ian@quixote)
  281.  
  282.     * r_plot.c (_plot_plvasp): New function.
  283.     (_plot_plvpas): New function.
  284.  
  285.     * code.c (userf): Had the names in bacwards order.
  286.  
  287. Tue Aug 16 22:51:53 1994  Ian Searle  (ian@quixote)
  288.  
  289.     * misc/plplot.r (subplot): New function.
  290.  
  291.     * configure.in: Check for working rint.
  292.  
  293. Mon Aug 15 18:24:27 1994  Ian Searle  (ian@quixote)
  294.  
  295.     * bio.c: Fix four-byte word size.
  296.  
  297. Sun Aug 14 22:05:22 1994  Ian Searle  (ian@quixote)
  298.  
  299.     * Makefile.a: Use version number for TOPDIR.
  300.  
  301. Sat Aug 13 07:28:38 1994  Ian Searle  (ian@quixote)
  302.  
  303.     * r_plot.c (_plot_plstart): Add server no kill code for new plplot
  304.     (4.99h). 
  305.  
  306. Wed Aug 10 18:20:41 1994  Ian Searle  (ian@quixote)
  307.  
  308.     * util.c (fpecatch): More EMX changes (re-enable signal()).
  309.  
  310.     * code.c (intcatch_wait): Some changes to support EMX (OS/2).
  311.  
  312. Tue Aug  9 03:46:10 1994  Ian Searle  (ian@quixote)
  313.  
  314.     * matop2.c (matrix_matrix_Pow): New function.
  315.     (matrix_scalar_Pow1): Add 1-by-1 special case.
  316.  
  317.     * opmat.c (matrix_assign): Reset matrix name after re-init.
  318.  
  319.     * rdl.c (DLopen): Add dlerror() usage to dlsym() call.
  320.  
  321. Mon Aug  8 18:29:38 1994  Ian Searle  (ian@quixote)
  322.  
  323.     * matrix.c (matrix_read_string): Eat up last new line. 
  324.     (matrix_Read): Return early from string read.
  325.  
  326. Sun Aug  7 12:24:35 1994  Ian Searle  (ian@quixote)
  327.  
  328.     * Makefile.a: New file. Actually this is the original
  329.     Makefile.in. Now either Makefile.so or Makefile.a gets copied to
  330.     Makefile.in during configure.
  331.  
  332.     * Makefile.so: New file
  333.  
  334.     * Adding support for dynamic linking.
  335.  
  336.     * util.c (call_rlab_script): Remove check for number of arguments,
  337.     this is done in userf already, and is not valid if the function is
  338.     a builtin.
  339.  
  340. Tue Aug  2 23:50:29 1994  Ian Searle  (ian@quixote)
  341.  
  342.     * code.c: Clean up memory inefficieny in list member references.
  343.  
  344. Fri Jul 29 20:17:09 1994  Ian Searle  (ian@quixote)
  345.  
  346.     * Many changes to almost all files. Re-organize to reduce global
  347.     variable usage, and increase modularity (for dynamic linking).
  348.  
  349.     * code.c: Convert global variables to static.
  350.  
  351. Thu Jul 28 22:17:09 1994  Ian Searle  (ian@quixote)
  352.  
  353.     * code.c (whilecode): All this time and I was neglecting to clean
  354.     the conditional Datums...
  355.     (ifcode): Same as whilecode...
  356.  
  357.     * matop2.c (matrix_ReadGeneric): Fix to allow spaces after last
  358.     row element. Re-work 1st line logic.
  359.  
  360. Thu Jul 21 22:33:18 1994  Ian Searle  (ian@quixote)
  361.  
  362.     * install.sh: Switch to X11R5 install.sh.
  363.  
  364. Tue Jul 19 22:46:27 1994  Ian Searle  (ian@quixote)
  365.  
  366.     * fi_1.c: Added matrix_Detect_Inf and matrix_Detect_Nan calls.
  367.  
  368.     * matop3.c (matrix_Detect_Inf): New function.
  369.     (matrix_Detect_Nan): New function.
  370.  
  371.     * util.c: Removed a few no-longer used functions.
  372.  
  373. Mon Jul 18 19:33:26 1994  Ian Searle  (ian@quixote)
  374.  
  375.     * code.c (assign): Rework LHS checking for a teeny bit of speed.
  376.  
  377.     * op.c (ent_ent_add): Flatten switches.
  378.  
  379. Sun Jul 17 00:57:06 1994  Ian Searle  (ian@quixote)
  380.  
  381.     * matop2.c (matrix_matrix_el_pow): Handle 1-by-1 matrices.
  382.  
  383.     * code.c (execute): Change for to a while to speed things up a
  384.     tad. 
  385.  
  386.     * opmat.c (matrix_assign): Speed up a[i;j] = x, where i and j are
  387.     scalars. 
  388.  
  389.     * matrix.c (matrix_Assign_el): New function.
  390.  
  391. Sat Jul 16 15:14:40 1994  Ian Searle  (ian@quixote)
  392.  
  393.     * main.c (run_program_eval): Modify to only call yyparse once. 
  394.  
  395.     * code.c (forcode): Cleanup changes to forcode for readability.
  396.  
  397. Tue Jul 12 17:22:36 1994  Ian Searle  (ian@quixote)
  398.  
  399.     * matop2.c (matrix_Sign): New function.
  400.  
  401. Mon Jul 11 18:11:50 1994  Ian Searle  (ian@quixote)
  402.  
  403.     * listnode.h (listNode_GetKey): Make it a macro (faster).
  404.  
  405. Sat Jul  9 17:03:36 1994  Ian Searle  (ian@quixote)
  406.  
  407.     * bltin2.c (Eval): New function. Also affects scan.l, and
  408.     main.c. Now eval() will read from a string without the temporary
  409.     file. 
  410.  
  411.     * scan.l (set_rlab_input): New function.
  412.  
  413. Thu Jul  7 20:37:51 1994  Ian Searle  (ian@quixote)
  414.  
  415.     * code.c (list_assign): Missing break.
  416.  
  417. Wed Jul  6 21:42:49 1994  Ian Searle  (ian@quixote)
  418.  
  419.     * bio.c (Fseek): New function.
  420.     (Fread): New function.
  421.  
  422. Tue Jul  5 17:50:29 1994  Ian Searle  (ian@quixote)
  423.  
  424.     * matrix.c (matrix_Truncate): Check size before truncating.
  425.  
  426. Sun Jun 26 08:48:01 1994  Ian Searle  (ian@quixote)
  427.  
  428.     * Release v1.02
  429.  
  430.     * misc/plplot.r (grid_y_default): Make default grid without grid
  431.     lines at tick intervals.
  432.  
  433. Wed Jun 22 22:36:50 1994  Ian Searle  (ian@quixote)
  434.  
  435.     * bltin2.c (Tmpfile): New function.
  436.  
  437. Sun Jun 12 09:23:21 1994  Ian Searle  (ian@quixote)
  438.  
  439.     * toolbox/toeplitz.r: Revise contributed toeplitz so that it will
  440.     handle size(C) != size(R). Note that it still will not perform
  441.     like Matlab's for the complex case.
  442.  
  443. Sat Jun 11 21:58:16 1994  Ian Searle  (ian@quixote)
  444.  
  445.     * misc/plplot.r (plhold_off): Add call to _pltext() to reset to
  446.     text mode.
  447.  
  448.     * matop2.c (matrix_ReadGeneric): Improvments to handle last lines
  449.     without terminating newline characters.
  450.  
  451. Thu Jun  9 17:18:23 1994  Ian Searle  (ian@quixote)
  452.  
  453.     * r_plot.c (_plot_plscol0): New function.
  454.  
  455.     * matop2.c (matrix_ReadGeneric): Make readm() more efficient.
  456.  
  457. Tue Jun  7 18:45:37 1994  Ian Searle  (ian@quixote)
  458.  
  459.     * Makefile.in: Remove obsolete targets from Makefile.
  460.  
  461.     * getline.c (Getline): Fix stupid string error.
  462.  
  463. Mon Jun  6 17:24:16 1994  Ian Searle  (ian@quixote)
  464.  
  465.     * fi_1.c (matrix_Eig_NEP): Fix overwrites problem with
  466.     left-eigenvectors. 
  467.  
  468. Sun Jun  5 20:20:32 1994  Ian Searle  (ian@quixote)
  469.  
  470.     * Release Version 1.0.
  471.  
  472. Tue May 24 16:55:15 1994  Ian Searle  (ian@quixote)
  473.  
  474.     * fi_1.c (solve_eq): Add calls to [DZ]GECON for input matrix
  475.     condition check.
  476.     (solve_eq): Mods to make A ill-conditioning handling more uniform,
  477.     as well as error messages.
  478.  
  479.     * matrix.c (matrix_Assign): Make row and column index requirements
  480.     looser. 
  481.     (matrix_ExtractColumn): Same.
  482.     (matrix_ExtractRow): Same
  483.     (matrix_ExtractColMatrix): Same.
  484.     (matrix_ExtractRowMatrix): Same.
  485.  
  486. Fri May 20 20:19:02 1994  Ian Searle  (ian@quixote)
  487.  
  488.     * symbol.c (symbol_table_create): Set the name of $$.
  489.  
  490.     * btree.c (btree_CopyTree): Check for $$.
  491.  
  492.     * code.c (copy_arg): New function.
  493.     (load_local_var): Copy arg variables if they are declared local.
  494.  
  495. Wed May 18 18:23:55 1994  Ian Searle  (ian@quixote)
  496.  
  497.     * matrix.c (matrix_AssignRow): Be more relaxed with matrix index
  498.     dimensions in assignments, and allow [] as assignment index.
  499.  
  500. Mon May 16 19:31:02 1994  Ian Searle  (ian@quixote)
  501.  
  502.     * fi_1.c (matrix_Eig_GNEPa): slightly more descriptive error
  503.     message. 
  504.  
  505. Fri May 13 22:07:52 1994  Ian Searle  (ian@quixote)
  506.  
  507.     * bltin1.c (Reshape): Use targ1 in arglist.
  508.  
  509. Tue May 10 19:20:41 1994  Ian Searle  (ian@quixote)
  510.  
  511.     * matop3.c (matrix_PNorm): New function.
  512.  
  513. Mon May  9 01:21:39 1994  Ian Searle  (ian@quixote)
  514.  
  515.     * fftp.h: Change defines to use newer fftpack calls. Same
  516.     arguments, etc, just added a `D' or `d' to the front of the name.
  517.  
  518.     * matop2.c (matrix_Find): Change && to || in find-complex logic.
  519.  
  520.     * bltin2.c (Find): Add usage of TARG_DESTROY.
  521.  
  522.     * code.c (ret_from_func): Search local list object with pointer
  523.     value. 
  524.  
  525.     * btree.c (btree_find_node_r): Had to make this function search
  526.     the list looking for nodes based upon pointer value.
  527.  
  528. Sun May  8 14:54:04 1994  Ian Searle  (ian@quixote)
  529.  
  530.     * r_plot.c (_plot_plptex): Make last argument be ["s"] or "s".
  531.  
  532.     * util.c (matrix_to_scalar): Add else-if option for STRING
  533.     matrices (can't believe this was used like this ?).
  534.  
  535.     * misc/plplot.r: Added plhold(), plhold_off(). Also added variable
  536.     line/point styles for the same plot.
  537.  
  538. Wed May  4 21:48:05 1994  Ian Searle  (ian@quixote)
  539.  
  540.     * matop3.h: New file.
  541.  
  542.     * matop3.c: New file.
  543.  
  544.     * math_2.c (Max): Make max compatible with Matlab (2 args).
  545.     (Min): Make min compatible with Matlab (2 args).
  546.  
  547. Mon May  2 06:30:08 1994  Ian Searle  (ian@quixote)
  548.  
  549.     * Release v0_99f.
  550.  
  551.     * Added plmesh() (to plplot.r) via r_plot.[ch].
  552.  
  553.     * listnode.c (listNode_isValid): Add listNode_isValid back in.
  554.  
  555.     * Release v0_99e (to tsyang).
  556.  
  557. Sun May  1 14:12:18 1994  Ian Searle  (ian@quixote)
  558.  
  559.     * rfile.c (get_rlab_search_path): New function.
  560.  
  561. Sat Apr 30 10:27:13 1994  Ian Searle  (ian@quixote)
  562.  
  563.     * Release v0_99d
  564.  
  565.     * util.c (call_rlab_script): Oops, make rlab_call_script handle
  566.     builtin functions as well.
  567.  
  568.     * odei.c (odei): Add error check to dtout (!= 0)
  569.     (odei): Moved TARG_DESTROY usage down to bottom of function where
  570.     it belongs.
  571.  
  572. Fri Apr 29 22:06:36 1994  Ian Searle  (ian@quixote)
  573.  
  574.     * bio.c (GetB): New function.
  575.  
  576.     * r_string.c (string_Write): Add call to fflush ().
  577.  
  578.     * bltin1.c (btree_write): Add call to fflush ().
  579.  
  580.     * scalar.c (scalar_Write): Added call to fflush().
  581.  
  582. Tue Apr 26 20:01:38 1994  Ian Searle  (ian@quixote)
  583.  
  584.     * main.c: Add -h to usage string.
  585.  
  586.     * print.c (get_file_ds): Added setvbuf, and buffsize.
  587.  
  588.     * bltin1.c (Read): Removed pre-cautionary close_file_ds() at
  589.     beginning. 
  590.  
  591.     * bio.c (ReadB): Removed pre-cautionary close_file_ds() at
  592.     beginning. 
  593.  
  594.     * rlab.y: Set $$ on [] to avoid confusing if().
  595.  
  596.     * diss.c (print_code_var): Print diss() from core dumping when a
  597.     pushed variable has no key.
  598.  
  599.     * bltin2.c (FVScope): Update for OP_ELADD and OP_EL_SUB.
  600.  
  601.     * diss.c (diss_assemble): Update for OP_EL_ADD and OP_EL_SUB. 
  602.  
  603. Sat Apr 23 08:58:23 1994  Ian Searle  (ian@quixote)
  604.  
  605.     * Release v0.99b
  606.  
  607.     * code.c (intcatch_wait): Mods to prevent unwanted termination
  608.     from multiple ^C.
  609.  
  610.     * matop2.c (matrix_Pow1): Fix a.^0 computation.
  611.  
  612. Tue Apr 12 21:27:56 1994  Ian Searle  (ian@quixote)
  613.  
  614.     * scan.l: Add .+ .-
  615.  
  616. Fri Apr  8 22:17:47 1994  Ian Searle  (ian@quixote)
  617.  
  618.     * code.c (list_assign): Allow 1st element of matrix as list index
  619.     for conversion to string.
  620.  
  621.     * rfile.c (cat_help_file_DOS): New function, added as a DOS
  622.     bandaid.
  623.  
  624. Tue Apr  5 17:13:17 1994  Ian Searle  (ian@quixote)
  625.  
  626.     * bio.c: Changed "r" and "w" to "rb" and "wb".
  627.  
  628. Sun Apr  3 18:07:20 1994  Ian Searle  (ian@quixote)
  629.  
  630.     * scan.l (rlab_yy_input): Added some code to feed flex a dummy
  631.     line if it has already read the '\n' before a flush_line occurs.
  632.  
  633. Tue Mar 29 21:19:13 1994  Ian Searle  (ian@quixote)
  634.  
  635.     * Renamed a bunch of files. Should be better now on crippled OSes.
  636.  
  637.     * matop2.c (matrix_VectorAddCol): New function.
  638.     (matrix_VectorAddRow): New function.
  639.  
  640. Sun Mar 27 18:17:40 1994  Ian Searle  (ian@quixote)
  641.  
  642.     * bltin2.c: Added #include <time.h> for tic() and toc().
  643.  
  644.     * rfile.c: Added #ifdefs for DOS inablility to handle popen in
  645.     rfile and help commands.
  646.  
  647. Thu Mar 24 21:35:57 1994  Ian Searle  (ian@quixote)
  648.  
  649.     * math_3.c (Filter): New function.
  650.  
  651. Sat Mar 19 00:22:52 1994  Ian Searle  (ian@quixote)
  652.  
  653.     * Break bltin.c into bltin1.c and bltin2.c.
  654.  
  655. Fri Mar 18 23:50:51 1994  Ian Searle  (ian@quixote)
  656.  
  657.     * test (l): Added ascii I/O tests.
  658.  
  659. Wed Mar 16 18:45:53 1994  Ian Searle  (ian@quixote)
  660.  
  661.     * bltin.c (Read): Removed fseek() and ftell() usage from read().
  662.  
  663. Mon Mar 14 20:09:59 1994  Ian Searle  (ian@quixote)
  664.  
  665.     * Dump rksuite, and replace with ode.f. Rename rks* to ode*.
  666.  
  667.     * matrix_op2.c (matrix_ReadGeneric): Overhaul readm() so that it
  668.     can read from pipes, or from the middle of a file...
  669.  
  670. Tue Mar  8 23:41:30 1994  Ian Searle  (ian@quixote)
  671.  
  672.     * rksi.f: New file.
  673.  
  674.     * rksi.h: New file.
  675.  
  676.     * rksuite.f: New file.
  677.  
  678.     *  rks.c: New file.
  679.  
  680. Tue Mar  1 21:35:46 1994  Ian Searle  (ian@quixote)
  681.  
  682.     * bio.c (scalar_ReadB): Remove extraneous strlen() call.
  683.     (matrix_ReadB): Remove old index usage.
  684.  
  685. Sun Feb 27 12:08:00 1994  Ian Searle  (ian@quixote)
  686.  
  687.     * test: Added binary file I/O tests.
  688.  
  689. Sat Feb 26 23:13:20 1994  Ian Searle  (ian@quixote)
  690.  
  691.     * bio.c: Changes to make matrix output MATLAB compatible.
  692.  
  693. Thu Feb 24 17:18:58 1994  Ian Searle  (ian@quixote)
  694.  
  695.     * rlib/save.r (save): Use writeb() instead of write().
  696.  
  697. Sun Feb 20 20:26:30 1994  Ian Searle  (ian@quixote)
  698.  
  699.     * bi_io.c: New file, contains binary file I/O functions.
  700.  
  701. Sat Feb 19 21:37:24 1994  Ian Searle  (ian@quixote)
  702.  
  703.     * bltin.c (Write): Fix write() so that argument checking is
  704.     correct. 
  705.  
  706.     * getline.c (Getline): Make getline() return a NULL string if a
  707.     blank line is encountered.
  708.  
  709. Tue Feb  8 20:41:42 1994  Ian Searle  (ian@quixote)
  710.  
  711.     * matrix_op2.c (matrix_Acos): Same change as below...
  712.  
  713.     * scalar_op1.c (scalar_Acos): Same change as below...
  714.  
  715.     * trig.c (Asin): Make asin() and acos() work for values >= 1.
  716.  
  717. Mon Feb  7 17:49:05 1994  Ian Searle  (ian@quixote)
  718.  
  719.     * bltin.c (Reshape): Make reshape() accept scalar numeric values. 
  720.  
  721. Sun Feb  6 22:18:51 1994  Ian Searle  (ian@quixote)
  722.  
  723.     * toolbox/nmsmax.r: New function.
  724.  
  725.     * toolbox/mdsmax.r: New function.
  726.  
  727. Sat Feb  5 22:07:39 1994  Ian Searle  (ian@quixote)
  728.  
  729.     * code.c (function_call): Numerous changes and restructuring to
  730.     make code more functional, and allow usage from other C source
  731.     code (getting ready for dynamic linking).
  732.  
  733. Fri Feb  4 23:04:58 1994  Ian Searle  (ian@quixote)
  734.  
  735.     * util.c (call_rlab_script): New function.
  736.  
  737.     * code.c (userf): New function.
  738.  
  739. Sun Jan 30 16:35:17 1994  Ian Searle  (ian@quixote)
  740.  
  741.     * Makefile.in: Made changes to Makefile to make non-UNIX usage
  742.     easier (OS/2, DOS, etc...).
  743.  
  744. Tue Jan 25 05:31:52 1994  Ian Searle  (ian@quixote)
  745.  
  746.     * toolbox/window.r (window): Return a column vector.
  747.  
  748. Thu Jan 20 17:11:08 1994  Ian Searle  (ian@quixote)
  749.  
  750.     * math_3.c (SchOrd): New function.
  751.  
  752.     * fi_2.c (matrix_Schur_Reorder): New function.
  753.  
  754. Sat Jan  8 13:58:50 1994  Ian Searle  (ian@quixote)
  755.  
  756.     * matrix_op1.c (matrix_scalar_eq): Allow equality tests between
  757.     matrices of numbers, and strings.
  758.     (matrix_scalar_ne): Allow equality tests between matrices of
  759.     numbers, and strings.
  760.  
  761. Fri Jan  7 20:39:05 1994  Ian Searle  (ian@quixote)
  762.  
  763.     * matrix_op1.c (matrix_ne): Allow equality tests between matrices
  764.     of numbers, and strings.
  765.     (matrix_eq): Allow equality tests between matrices of numbers, and
  766.     strings. 
  767.  
  768.     * matrix_op2.c (matrix_string_eq): Allow equality tests between
  769.     matrices, and strings.
  770.  
  771.     * relation.c (ent_ent_eq): Allow equality tests between scalars
  772.     and strings
  773.  
  774. Tue Jan  4 21:55:23 1994  Ian Searle  (ian@quixote)
  775.  
  776.     * test: Added lu/factor tests.
  777.  
  778. Tue Dec 14 19:11:49 1993  Ian Searle  (ian@quixote)
  779.  
  780.     * code.c (init_frame): New functions.
  781.  
  782. Mon Dec 13 17:24:29 1993  Ian Searle  (ian@quixote)
  783.  
  784.     * rfile.c (path_split): Make ':' a static variable called
  785.     PATHT_SEP so non-Unix platforms can change it easily.
  786.  
  787. Sun Dec 12 21:27:19 1993  Ian Searle  (ian@quixote)
  788.  
  789.     * code.c (find_lineno): Added a fail-safe so that we don't back
  790.     off of the code-stack.
  791.  
  792. Sat Dec 11 14:51:39 1993  Ian Searle  (ian@quixote)
  793.  
  794.     * rlab.y (ryyerror): Started using flush_line again. This time I
  795.     got it working :-).
  796.  
  797.     * btree.c (btree_sizeof): New function.
  798.  
  799.     * bltin.c (Sizeof): New function.
  800.  
  801. Mon Dec  6 19:48:29 1993  Ian Searle  (ian@quixote)
  802.  
  803.     * Switch to using flex-2.4.3
  804.  
  805. Fri Dec  3 23:14:12 1993  Ian Searle  (ian@quixote)
  806.  
  807.     * r_plot.c (_plot_plspause): New function.
  808.  
  809. Thu Dec  2 21:05:15 1993  Ian Searle  (ian@quixote)
  810.  
  811.     * print.c (rfile_Destroy): Remove if test, and error message from
  812.     fclose(). 
  813.  
  814. Wed Dec  1 19:12:16 1993  Ian Searle  (ian@quixote)
  815.  
  816.     * bltin.c (Strtod): Make strtod take matrices as well.
  817.  
  818.     * rlib/plplot.r: More updates to plplot.r
  819.  
  820. Tue Nov 23 19:05:09 1993  Ian Searle  (ian@quixote)
  821.  
  822.     * test: Many additional tests added.
  823.  
  824.     *  (fi_?.c): Changed all comparisons between ints and long ints
  825.     (info). 
  826.  
  827.     * r_plot.c (_plot_plprint): Added plflush(), and plend1().
  828.  
  829. Mon Nov 22 21:42:05 1993  Ian Searle  (ian@quixote)
  830.  
  831.     * test (a): Added matrix relational tests.
  832.  
  833.     * matrix_op1.c (matrix_lt): Fix typo.
  834.  
  835. Sun Nov 21 20:56:29 1993  Ian Searle  (ian@quixote)
  836.  
  837.     * bltin.c (Strtod): New function.
  838.  
  839. Wed Nov 17 19:15:09 1993  Ian Searle  (ian@quixote)
  840.  
  841.     * init.c: Add in PLPLOT code.
  842.  
  843.     * random.c (Rand): Change back to f2c *.f for ranlib, and make
  844.     necessary type casts in random.[ch]
  845.  
  846.     * math_3.c (FFT): Add F_INT declarations to avoid alignment
  847.     problems. 
  848.  
  849. Tue Nov 16 19:49:39 1993  Ian Searle  (ian@quixote)
  850.  
  851.     * config.h.in: Add #else #include <malloc.h>
  852.  
  853.     * mem.h: Remove #ifdef __STDC__ , and let config.h take care of
  854.     stdlib.h, or malloc.h.
  855.  
  856. Mon Nov 15 17:16:37 1993  Ian Searle  (ian@quixote)
  857.  
  858.     * matrix_op1.c (matrix_MultiplyCC): Must make sure to use ints
  859.     that are F_INT with BLAS subroutines.
  860.  
  861. Sat Nov 13 11:50:57 1993  Ian Searle  (ian@quixote)
  862.  
  863.     * LOTS of changes for improved fortran interface: New lp.[fh],
  864.     bl.[fh], and fi.h. Many mods to fi_1.c, and fi_2.c
  865.  
  866. Fri Nov 12 21:09:37 1993  Ian Searle  (ian@quixote)
  867.  
  868.     * mathl.c (Rrint): Rename rint() so that it can be used on systems
  869.     with broken rint().
  870.  
  871. Wed Nov 10 22:14:59 1993  Ian Searle  (ian@quixote)
  872.  
  873.     * math_2.c (Eig): Take all the argument overloading out of eig(),
  874.     now eig() just does eig(A), or eig(A, B).
  875.  
  876. Fri Nov  5 17:25:14 1993  Ian Searle  (ian@quixote)
  877.  
  878.     * math_2.c (Eig): Added "u" option.
  879.  
  880. Sat Oct 30 20:57:30 1993  Ian Searle  (ian@quixote)
  881.  
  882.     * btree.c (btree_Print): Add list name printing (like scalars
  883.     matrices, and strings).
  884.  
  885.     * r_string.c (string_Print): New function.
  886.  
  887.     * matrix.c (matrix_Print): Don't print out variable with "-N"
  888.     name, (function arguments).
  889.  
  890.     * scalar.c (scalar_Print): Don't print out variable with "-N" name
  891.     (function arguments).
  892.  
  893.     * main.c (main): Add -h option, prints out error message.
  894.  
  895. Fri Oct 29 19:20:07 1993  Ian Searle  (ian@quixote)
  896.  
  897.     * code.c (list_assign): Left g out of sprintf() format.
  898.  
  899. Tue Oct 26 18:54:38 1993  Ian Searle  (ian@quixote)
  900.  
  901.     * Obtained new getopt related files from the GNU libc.
  902.  
  903. Sat Oct 23 09:21:56 1993  Ian Searle  (ian@quixote)
  904.  
  905.     * bltin.c (Read): Now taks a 2nd argument (optional) which
  906.     specifies a list that the data can be installed onto.
  907.  
  908.     * rlib/fix.r (fix): Mods to function from bradh to handle complex.
  909.  
  910.     * trig.c (Atan2): More generic now.
  911.  
  912.     * matrix_op2.c (matrix_Atan2): Added 1-by-1 checks.
  913.  
  914. Fri Oct 22 21:04:07 1993  Ian Searle  (ian@quixote)
  915.  
  916.     * rlib/finite.r (finite): Return TRUE if element is finite.
  917.  
  918.     * math_1.c (Mod): Mods to handle combinations of different size
  919.     matrices. 
  920.  
  921.     * matrix_op2.c (matrix_Mod): Mods to handle  1-by-1 matrices.
  922.  
  923.     * config.h.in: Fix logic surrounding FP_SET_MASK.
  924.  
  925.     * main.c (warning_1): Moved commas around.
  926.  
  927. Wed Oct 20 20:08:47 1993  Ian Searle  (ian@quixote)
  928.  
  929.     * list_node.c (listNode_SetScope): New function.
  930.     (listNode_SetNum): New function.
  931.  
  932.     * list_node.h: Add two new fields. For scope checking, and
  933.     list-node ordering.
  934.  
  935. Sun Oct 17 09:47:23 1993  Ian Searle  (ian@quixote)
  936.  
  937.     * toolbox/czt.r (czt): Improve default arg checking.
  938.  
  939. Sat Oct 16 13:57:54 1993  Ian Searle  (ian@quixote)
  940.  
  941.     * fi_1.c (matrix_Eig_GNEP): Use complex_div instead of
  942.     complex_Div. This keeps AIX cc from puking when compiled with -O. 
  943.  
  944. Sat Oct  9 23:51:23 1993  Ian Searle  (ian@quixote)
  945.  
  946.     * rlib/isempty.r: Fixed, was backwards.
  947.  
  948. Sun Oct  3 22:36:51 1993  Ian Searle  (ian@quixote)
  949.  
  950.     * toolbox/fftplot.r (fftplot): Fix it so frequency scale is
  951.     returned, and mag and ph are truncated.
  952.  
  953. Sat Oct  2 08:35:51 1993  Ian Searle  (ian@quixote)
  954.  
  955.     * main.c (main): Add some more command line options.
  956.  
  957.     * op_append.c (matrix_matrix_app): Changed matrix_Copy to
  958.     matrix_copy_complex. 
  959.  
  960.     * code.c (function_default_return): Removed unused variable tmp.
  961.     (bltin): Removed unused variable tmp.
  962.  
  963.     * matrix_op2.c (matrix_Pow2): Fix stupid bug. Using wrong MAT
  964.     macro.
  965.  
  966.     * test: Added eigenvalue tests.
  967.  
  968. Fri Oct  1 23:36:17 1993  Ian Searle  (ian@quixote)
  969.  
  970.     * math_2.c (Eig): Finish up new eig() features.
  971.  
  972. Sun Sep 26 09:57:01 1993  Ian Searle  (ian@quixote)
  973.  
  974.     * fi_1.c (matrix_Eig_SEP): New function.
  975.  
  976. Sat Sep 25 16:22:34 1993  Ian Searle  (ian@quixote)
  977.  
  978.     * math_3.c (matrix_is_symm): New function.
  979.     (Issymm): New function.
  980.  
  981. Wed Sep 22 21:40:29 1993  Ian Searle  (ian@quixote)
  982.  
  983.     * code.c (list_assign): Change numeric to string conversion to
  984.     ".6g". and fix lack of iCONSTANT in list_assign().
  985.  
  986. Tue Sep 14 18:52:03 1993  Ian Searle  (ian@quixote)
  987.  
  988.     * util.c (cpstr_strip): SIZE_T change.
  989.  
  990.     * r_string.c (string_Read): SIZE_T change.
  991.  
  992.     * mem.c (xrealloc): Changed all SIZE_T to size_t.
  993.  
  994.     * rlib/plot.r (plotm): Remove name() uses, replace with "?"
  995.     temporarily. 
  996.  
  997. Sat Sep 11 11:17:52 1993  Ian Searle  (ian@quixote)
  998.  
  999.     * fi_2.c (matrix_Sylv_Complex): New function.
  1000.  
  1001.     * math_3.c (Sylv): New function.
  1002.  
  1003.     * fi_2.c (matrix_Sylv_Real): New function.
  1004.     (matrix_Sylv): New function.
  1005.  
  1006. Fri Sep 10 16:31:24 1993  Ian Searle  (ian@quixote)
  1007.  
  1008.     * complex.c (complex_gt): Change complex relationals back to
  1009.     original method (using magnitudes).
  1010.  
  1011. Thu Sep  9 21:37:57 1993  Ian Searle  (ian@quixote)
  1012.  
  1013.     * bltin.c (System): Remove name() function.
  1014.     (Matrix_cast): Fix string-matrix cast.
  1015.     (Scalar_cast): Fix string-scalar casts.
  1016.     (Show): Add string to type descriptor.
  1017.  
  1018.     * random.c (SRand): Add if(once) statement so that srand() can be
  1019.     called before rand().
  1020.  
  1021. Tue Sep  7 17:51:00 1993  Ian Searle  (ian@quixote)
  1022.  
  1023.     * matrix_op2.c (matrix_Pow1): Fix up [m].^salar ops.
  1024.     (matrix_is_positive): New function.
  1025.  
  1026.     * scalar_op1.c (scalar_Pow): Fix up powers (again).
  1027.  
  1028. Mon Sep  6 09:33:06 1993  Ian Searle  (ian@quixote)
  1029.  
  1030.     * math_2.c (Sort): Make string sort, a vector function.
  1031.  
  1032.     * op.c (ent_ent_add): Add matrix-string adds.
  1033.  
  1034.     * matrix_op2.c (matrix_string_add): New function.
  1035.  
  1036.     * r_string.c (string_add): New function.
  1037.  
  1038. Mon Aug 30 18:16:11 1993  Ian Searle  (ian@quixote)
  1039.  
  1040.     * scan.l: Ignore \f (form-feed control character.
  1041.  
  1042.     * rlab.y: Made a[], and a[;] allowable (they are no-ops).
  1043.  
  1044. Sun Aug 29 00:01:13 1993  Ian Searle  (ian@quixote)
  1045.  
  1046.     * math_3.c: Same as math_2.c.
  1047.     (FFT): Move position of tmp2 creation so that it occurs after
  1048.     matrix has been either trucated, or extended.
  1049.     (IFFT): Move position of tmp2 creation so that it occurs after
  1050.     matrix has been either trucated, or extended.
  1051.  
  1052.     * math_2.c: Use TARG_DESTROY macro in all functions where
  1053.     convert_to_matrix, or convert_to_scalar is used.
  1054.  
  1055.     * print.c (do_printf): Must check argcnt <= 0 since argcnt is
  1056.     unsigned. 
  1057.  
  1058.     * rlab.h: Removed some of the portability oriented defines, and
  1059.     put them in config.h
  1060.  
  1061.     * rlib/isinf.r (isinf): Check for -inf also.
  1062.  
  1063.     * rlib/linspace.r (linspace): Check N >= 2.
  1064.  
  1065.     * rlib/logspace.r (logspace): Check N >= 2.
  1066.  
  1067.     * rlib/triu.r (triu): use .nr, and .nc. Also check k correctly.
  1068.  
  1069. Sat Aug 28 12:12:33 1993  Ian Searle  (ian@quixote)
  1070.  
  1071.     * rlib/tril.r (tril): Use .nr, and .nc. Also check k correctly.
  1072.  
  1073.     * math_3.c (IFFT): Scale the result by 1/N (like MATLAB).
  1074.     (FFT): Remove the 1/N scaling (like MATLAB).
  1075.     (FFT): Make fft() behave like MATLAB, with 2nd argument.
  1076.     (IFFT): Make ifft() behave like MATLAB, with 2nd argument.
  1077.  
  1078.     * complex.c (complex_or): Make complex relational behave like
  1079.     MATLAB. 
  1080.  
  1081.     * main.c (init_environment): Check environment for PAGER if
  1082.     RLAB_PAGER is not specified.
  1083.  
  1084. Wed Aug 25 23:29:32 1993  Ian Searle  (ian@quixote)
  1085.  
  1086.     * rlab.y: Added f(,,3,,5) capability to function calls.
  1087.  
  1088. Tue Aug 24 22:41:42 1993  Ian Searle  (ian@quixote)
  1089.  
  1090.     * math_2.c (Sort): Make sort() handle scalar string.
  1091.  
  1092. Wed Aug 18 21:02:55 1993  Ian Searle  (ian@quixote)
  1093.  
  1094.     * matrix.c (matrix_AppendColC): Some cosmetic touch ups while
  1095.     looking for a mem-clobber.
  1096.  
  1097. Tue Aug 17 21:04:19 1993  Ian Searle  (ian@quixote)
  1098.  
  1099.     * fi_1.c (matrix_QrPR): Create [P] as a k-by-n.
  1100.     (matrix_QrPZ): Create [P] as a k-by-n.
  1101.  
  1102.     * matrix_op2.c (matrix_Rdivide): Make a / [] work.
  1103.     (matrix_Ldivide): Make a \ [] work.
  1104.  
  1105.     * matrix_op1.c (matrix_Add): Make a + [] work.
  1106.     (matrix_Sub): Make a - [] work.
  1107.     (matrix_El_Div): Make a ./ [] work.
  1108.     (matrix_El_Mul): Make a .* [] work.
  1109.  
  1110. Mon Aug 16 23:31:04 1993  Ian Searle  (ian@quixote)
  1111.  
  1112.     * fi_1.c (matrix_QrP): New function(s).
  1113.  
  1114. Sat Aug  7 08:30:44 1993  Ian Searle  (ian@quixote)
  1115.  
  1116.     * matrix_op2.c (matrix_ReadGeneric): Changed to MATLAB flat-file
  1117.     format. 
  1118.     (figure_it_out): New function.
  1119.  
  1120.     * op_matrix.c (matrix_vector_assign): Add code (move) to re-type
  1121.     empty matrices.
  1122.     (matrix_assign): Same.
  1123.  
  1124.     * matrix.c (matrix_AssignRow): Remove matrix rhs-lhs type
  1125.     matching, this should be done in op_matrix.c.
  1126.     (matrix_Assign): Same.
  1127.     (matrix_AssignCol): Same.
  1128.     (matrix_AssignVector): Same.
  1129.  
  1130. Wed Aug  4 19:36:20 1993  Ian Searle  (ian@quixote)
  1131.  
  1132.     * matrix.c (matrix_AssignCol): Change (1, 1) to (0, 0) is create
  1133.     matrix calls.
  1134.  
  1135. Mon Aug  2 19:41:27 1993  Ian Searle  (ian@quixote)
  1136.  
  1137.     *  (./rlib): complement.r, intersection.r, set.r, union.r, New
  1138.     function.s 
  1139.  
  1140.     * op_matrix.c (matrix_reshape_col): Make [:] work on scalar STRING
  1141.     entities. 
  1142.  
  1143.     * util.c (convert_all_to_matrix_d): New function.
  1144.  
  1145. Sun Aug  1 22:50:30 1993  Ian Searle  (ian@quixote)
  1146.  
  1147.     * bltin.c (Find): Make find() handle scalar input.
  1148.  
  1149. Fri Jul 30 22:35:33 1993  Ian Searle  (ian@quixote)
  1150.  
  1151.     * op_matrix.c (matrix_assign): Same changes as made to
  1152.     matrix_vector_assign(). 
  1153.  
  1154.     * matrix.c (matrix_AssignVector): Free old matrix string element
  1155.     before assigning new value.
  1156.     (matrix_Assign): Same as above.
  1157.     (matrix_AssignCol): Same as above.
  1158.     (matrix_AssignRow): Same as above.
  1159.  
  1160.     * op_matrix.c (matrix_vector_assign): Add code to treat strings
  1161.     like scalar numerics.
  1162.  
  1163.     * op.c (ent_ent_el_pow): Add defaults to the switches to catch
  1164.     non-numeric entities.
  1165.  
  1166. Thu Jul 29 18:23:53 1993  Ian Searle  (ian@quixote)
  1167.  
  1168.     * toolbox/lagrange.r: Added check for out-of-bounds.
  1169.  
  1170.     * matrix.c (matrix_AppendRowS): Copy the null string into the
  1171.     empty matrix elements.
  1172.  
  1173. Wed Jul 28 23:33:15 1993  Ian Searle  (ian@quixote)
  1174.  
  1175.     * scalar_op1.c (scalar_Pow): Fix BOZO in 2nd comparison test.
  1176.  
  1177. Tue Jul 27 06:13:19 1993  Ian Searle  (ian@quixote)
  1178.  
  1179.     * main.c (run_program): Check ijmp so that we don't run out of
  1180.     longjmps in the non-interactive case.
  1181.  
  1182. Sun Jul 25 20:03:21 1993  Ian Searle  (ian@quixote)
  1183.  
  1184.     * rfile.c (find_open): closedir before we call run_program in case
  1185.     an error occurs.
  1186.  
  1187.     * rlab.y (ryyerror): Add longjmp call to ryyerror, also function
  1188.     scope resetting.
  1189.  
  1190.     * main.c (run_program): Now when an error occurs, keep
  1191.     longjmp()'ing up until we hit input == 0.
  1192.  
  1193.     * code.c (function_define): Made to small, but significant
  1194.     changes.  `function_SetCodeSize (u_func, psize + 4);' the number 4
  1195.     was a 5. And, `for (i = psave; i < psize + psave; i++)' the `<'
  1196.     used to be a `<='. These changes were made simply because we were
  1197.     using an extra piece of code when copying the function, which may
  1198.     not be safe under some rare circumstances. This bug popped up when
  1199.     I installed fvscope().
  1200.  
  1201. Sat Jul 24 09:17:10 1993  Ian Searle  (ian@quixote)
  1202.  
  1203.     * dissassem.c (diss_assemble): Fixed bug in OP_LIST_MEMB, and
  1204.     OP_LIST_CREATE dissasembly.
  1205.  
  1206. Fri Jul 23 21:51:33 1993  Ian Searle  (ian@quixote)
  1207.  
  1208.     * bltin.c (FVScope): New function.
  1209.  
  1210. Wed Jul 21 20:05:45 1993  Ian Searle  (ian@quixote)
  1211.  
  1212.     * op_matrix.c (matrix_stack): Make [a;s] work, when a in
  1213.     numeric-string. 
  1214.  
  1215.     * op_append.c (matrix_string_app): Make [a,s] work, where a is
  1216.     numeric-empty. 
  1217.  
  1218. Tue Jul 20 08:22:34 1993  Ian Searle  (ian@quixote)
  1219.  
  1220.     * matrix.c (matrix_AssignVector): Add logic so that we can have
  1221.     any RHS when assigning to an empty matrix.
  1222.     (matrix_AssignRow): Same as previous change.
  1223.     (matrix_AssignCol): Same as previous change.
  1224.     (matrix_Assign): Same as previous change.
  1225.  
  1226.     * rlib/input.r: New function.
  1227.  
  1228.     * toolbox/mret.r: New function.
  1229.  
  1230. Sun Jul 18 09:03:16 1993  Ian Searle  (ian@quixote)
  1231.  
  1232.     * code.c (reset_stack_ptr): New function.
  1233.  
  1234.     * main.c (run_program): Call reset_stack_ptr after longjmp().
  1235.  
  1236.     * rlib/input.r (input): New function.
  1237.  
  1238.     * matrix.c (matrix_print_real): Modify matrix print format.
  1239.  
  1240.     * bltin.c (Clear): Improved error messages.
  1241.  
  1242. Sat Jul 17 08:08:31 1993  Ian Searle  (ian@quixote)
  1243.  
  1244.     * rlib/num2str.r (num2str): New function rfile.
  1245.  
  1246.     * code.c (find_lineno): Check for NULL ptr if we get an error, or
  1247.     warning on the very 1st statement.
  1248.  
  1249. Wed Jul 14 20:31:18 1993  Ian Searle  (ian@quixote)
  1250.  
  1251.     * rlib/redit.r: Removed file existence test.
  1252.  
  1253. Tue Jul 13 20:40:01 1993  Ian Searle  (ian@quixote)
  1254.  
  1255.     * main.c (run_program): Add call to reset_frame_ptr to set fp back
  1256.     after a longjmp.
  1257.  
  1258.     * code.c (reset_frame_ptr): New Function.
  1259.  
  1260. Mon Jul 12 18:49:33 1993  Ian Searle  (ian@quixote)
  1261.  
  1262.     * Release v0.91b.
  1263.  
  1264.     * Major changes to rlab.y, scan.l. to make the parser generate
  1265.     codes, line at a time.
  1266.  
  1267. Wed Jul  7 22:02:33 1993  Ian Searle  (ian@quixote)
  1268.  
  1269.     * rlib/tmp_file.r: Use static variable to help insure uniqness.
  1270.  
  1271. Mon Jul  5 00:40:17 1993  Ian Searle  (ian@quixote)
  1272.  
  1273.     *  (./rlab): Release v0.90a.
  1274.  
  1275.     * bltin.c (Load): Added close_file_ds() call. This is overkill,
  1276.     but what the heck (safety 1st).
  1277.  
  1278.     * util.c (btree_get_node_names_who): Don't print variable names
  1279.     that begin with a "_".
  1280.  
  1281.     * rlab.y: Removed pure parser declaration.
  1282.  
  1283.     * scan.l: Went back to classical lex-yacc interaction (not a
  1284.     pure-parser). 
  1285.  
  1286.     * dissassem.c (diss_assemble): Update for new op-codes.
  1287.  
  1288. Sun Jul  4 20:12:31 1993  Ian Searle  (ian@quixote)
  1289.  
  1290.     * code.c (execute): Add OP_RFILE, OP_RFILE_NAME codes.
  1291.  
  1292.     * Have made major changes to main.c, code.[ch], bltin.c to make
  1293.     the parser/machine callable while executing code.
  1294.  
  1295. Thu Jul  1 21:31:02 1993  Ian Searle  (ian@quixote)
  1296.  
  1297.     * btree.c (btree_write_nodes): Check for BLTIN, and UFUNCTION.
  1298.  
  1299.     * rfile.c (rfile_load): Print out full file name in error message.
  1300.  
  1301.     * matrix.c (matrix_ExtractRowMatrix): Cast element references when
  1302.     bounds checking, so that NaNs and Infs are properly handled.
  1303.  
  1304. Fri Jun 25 17:30:48 1993  Ian Searle  (ian@quixote)
  1305.  
  1306.     * test (S): Added sprintf() test.
  1307.  
  1308. Thu Jun 24 20:15:35 1993  Ian Searle  (ian@quixote)
  1309.  
  1310.     * print.c (do_printf): Fix up argument handling for formats with
  1311.     width and/or precision specifiers.
  1312.  
  1313. Wed Jun 23 19:33:26 1993  Ian Searle  (ian@quixote)
  1314.  
  1315.     * scalar_op1.c (scalar_Pow): Use complex computation all the time.
  1316.     (scalar_Pow): Always return 1 when s2 is 0.
  1317.  
  1318. Tue Jun 22 16:26:58 1993  Ian Searle  (ian@quixote)
  1319.  
  1320.     * config/*: Added HAVE_TIME_H define.
  1321.  
  1322.     * config/config.svr4:  Added HAVE_STDLIB_H define.
  1323.  
  1324.     * scan.l: Get rid of #elif pre-processor statements (not K&R
  1325.     compatible). 
  1326.  
  1327.     * rlab.h:   Added HAVE_STDLIB_H block.
  1328.  
  1329.     * config/config.rs6000: Added HAVE_STDLIB_H define.
  1330.  
  1331.     * rfile.c:  Added HAVE_STDLIB_H block.
  1332.  
  1333.     * symbol.c: Added HAVE_STDLIB_H block.
  1334.  
  1335.     * matrix.c: Don't need stdlib.h include anymore.
  1336.  
  1337.     * config/config.hpux: Got access to an HP 9000/720, HP-UX 8.05.
  1338.     This config files has now been tested.
  1339.  
  1340.     * fi_1.c (matrix_Svd_Complex): Added "A", "S" abililty.
  1341.  
  1342.     * math_2.c (Svd): Added "S", "A", 2nd arg to svd() list.
  1343.  
  1344.     * bltin.c (Zero): Cast matrix_Create args to (int).
  1345.     (Ones): Cast matrix_Create args to (int).
  1346.  
  1347. Sat Jun 19 22:25:10 1993  Ian Searle  (ian@quixote)
  1348.  
  1349.     * init.c (rlab_bltin): Add _garbage function.
  1350.  
  1351.     * README.install: Update installation instructions for make
  1352.     install. 
  1353.  
  1354.     * Makefile (mkdir): Remove `rm' command from Makefile.
  1355.  
  1356.     * rlib/whos.r (whos): Calculate nbytes correctly for complex
  1357.     types. 
  1358.  
  1359.     * util.c (btree_get_node_names_what): Don't print builtin
  1360.     functions that begin with a `_'.
  1361.  
  1362.     * scan.l: Allow variable names that begin with a `_'.
  1363.  
  1364. Mon Jun 14 19:48:17 1993  Ian Searle  (ian@quixote)
  1365.  
  1366.     * toolbox/pinv.r (pinv): Fixed bug in tol calc.
  1367.  
  1368. Mon Jun  7 19:13:25 1993  Ian Searle  (ian@quixote)
  1369.  
  1370.     * Makefile (COPYDIR): Copy doc directory and config.h file during
  1371.     install. 
  1372.  
  1373.     * config/config.sun4: Add ifdef __GNUC__ to handle sys/ieeefp.h,
  1374.     and float.h
  1375.  
  1376.     * matrix_op2.c (matrix_gt_zero): Fix error message.
  1377.  
  1378. Sun Jun  6 09:10:12 1993  Ian Searle  (ian@quixote)
  1379.  
  1380.     * rlib/diff.r (diff): Finished appr. comments.
  1381.  
  1382. Sat Jun  5 19:14:07 1993  Ian Searle  (ian@quixote)
  1383.  
  1384.     * matrix_op2.c (matrix_scalar_Pow1): Fix op for exp <= 0.
  1385.  
  1386.     * fi_2.c (matrix_Schur): New function.
  1387.  
  1388. Wed Jun  2 23:08:04 1993  Ian Searle  (ian@quixote)
  1389.  
  1390.     *  Release Version 0.83 beta.
  1391.  
  1392. Mon May 31 17:40:45 1993  Ian Searle  (ian@quixote)
  1393.  
  1394.     * code.c (forcode): Fix scalar execution of loop.
  1395.     (forcode): Set limit properly when vec_expr is a scalar.
  1396.  
  1397. Sun May 30 09:22:34 1993  Ian Searle  (ian@quixote)
  1398.  
  1399.     * rlab.h: Added NUM type.
  1400.  
  1401.     * bltin.c (get_bltin_arg): Added NUM type
  1402.  
  1403.     * random.c (Rand): Use get_num_scalar_val more to reduce gc
  1404.     inefficiency. 
  1405.  
  1406.     * Release v0.82
  1407.  
  1408. Sat May 29 22:55:06 1993  Ian Searle  (ian@quixote)
  1409.  
  1410.     * rlib/plot.r: Added showterm(), setterm(), phrd().
  1411.  
  1412.     * scan.l: Changed NUMBER regexps so that `a.e1' (list member ref)
  1413.     won't ge confused with exponential form of NUMBER.
  1414.  
  1415. Wed May 26 17:52:16 1993  Ian Searle  (ian@quixote)
  1416.  
  1417.     * scan.l (rlab_yy_input): Signal() should be called with
  1418.     intcatch_wait as arg.
  1419.  
  1420.     * btree.c (btree_copy_nodes): Add UNDEF case.
  1421.  
  1422. Mon May 24 20:23:49 1993  Ian Searle  (ian@quixote)
  1423.  
  1424.     * removed testmatrices directory.
  1425.  
  1426.     * ode*: Mods to user-output capabilities.
  1427.  
  1428. Sun May 23 13:50:21 1993  Ian Searle  (ian@quixote)
  1429.  
  1430.     * toolbox/FFT2.r: New file.
  1431.  
  1432.     * toolbox/FFT.r: New file.
  1433.  
  1434.     * toolbox/hankel: New rfile.
  1435.  
  1436.     * toolbox/ode78.r: Added Uoutput.
  1437.  
  1438.     * rlib/ode23.r: Added Uoutput.
  1439.  
  1440.     * op_matrix.c (matrix_reshape_col): Try and make more efficient if
  1441.     input is already a column. 
  1442.  
  1443.     * matrix_op1.c (matrix_ne): Fix goof in REAL !+ COMPLEX, and
  1444.     COMPLEX != REAL.
  1445.  
  1446. Wed May 19 18:19:00 1993  Ian Searle  (ian@quixote)
  1447.  
  1448.     * bltin.c, btree.c: Add UNDEF case to write() options. 
  1449.  
  1450. Sat May 15 12:25:25 1993  Ian Searle  (ian@quixote)
  1451.  
  1452.     * code.c (ret_from_func): Use btree_FindNodeR.
  1453.  
  1454.     * btree.[ch] (btree_FindNodeR): New function.
  1455.  
  1456.     * test: Added lqr test to test-suite.
  1457.  
  1458.     * Makefile: Added install for rlab.1 (man-page).
  1459.  
  1460.     * Makefile: Clean LIBDIR before installing files.
  1461.  
  1462.     * scan.l: Use strtod() more often (replace sscanf()).
  1463.  
  1464. Fri May 14 21:46:25 1993  Ian Searle  (ian@quixote)
  1465.  
  1466.     * toolbox/*.r, rlib/*.r: Any files that neede class() or type()
  1467.     mods. 
  1468.  
  1469.     * code.c (list_member): Change type member results for
  1470.     consistency. 
  1471.  
  1472.     * btree.[ch] (btree_GetRealNumNodes): New function.
  1473.  
  1474.     * bltin.c (Type): More consistemcy changes.
  1475.  
  1476.     * bltin.c (Class): More consistemcy changes.
  1477.  
  1478.     * bltin.c (Show): Working on consistency.
  1479.  
  1480.     * main.c (warning_?): Check for s being an arg tag, print null
  1481.     string if so. 
  1482.  
  1483. Sun May  9 10:56:13 1993  Ian Searle  (ian@quixote)
  1484.  
  1485.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  1486.  
  1487.     * examples/testmatrices/krylov.r: Removed "dummy" usage.
  1488.  
  1489.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  1490.  
  1491.     * examples/testmatrices/cauchy.r: Removed "dummy" usage.
  1492.  
  1493.     * bltin.c (Ones, Zero): Onnly accept matrices with m*n == 2.
  1494.  
  1495.     * toolbox/rk4.r: Changes function names to match file name, fixed
  1496.     bug in calling rrk4(), y-argument.
  1497.  
  1498.     * code.c (assign): Don't check for "-" when assigning anymore. Not
  1499.     necessary cause there are always ENTITIES in function arg lists.
  1500.  
  1501.     * code.c (function_call): Don't label UNDEF args "dummy".
  1502.  
  1503.     * code.c (ret_from_func): Don't test args for key == 0 on clean. 
  1504.  
  1505.     * rlib/triu.r, tril.r: Remove "dummy" usage.
  1506.  
  1507.     * rlib/linspace.r: Remove "dummy" usage.
  1508.  
  1509.     * contrib/FFT.r, FFT2.r, hankel.r, toepltiz.r: Remove "dummy"
  1510.     usage. 
  1511.  
  1512.     * code.c (print): Check for BLTIN.
  1513.  
  1514.     * rlib/whos: Add check for arg exist.
  1515.  
  1516.     * rlib/ode23: Remove "dummy" usage, add checks
  1517.  
  1518.     * rlib/plot.r: Check N in plot()
  1519.  
  1520.     * rlib/redit.r: Remove "dummy" usage.
  1521.  
  1522.     * rlib/redit.r: Remove "dummy" usage.
  1523.  
  1524.     * rlib/pause.r: Remove "dummy" usage.
  1525.  
  1526.     * rlib/eye.r: Remove "dummy" usage.
  1527.  
  1528.     * rlib/diff.r: Remove "dummy" usage.
  1529.  
  1530.     * toolboz/ode78.r: Remove "dummy" usage.
  1531.  
  1532.     * toolbox/lagrange.r: Remove "dummy" usage.
  1533.  
  1534.     * toolbox/chop.r: Remove "dummy" usage.
  1535.  
  1536.     * toolbox/bandred.r: Remove "dummy" usage.
  1537.  
  1538.     * code.c (function_call): Push UNDEF on for non-existent args.
  1539.  
  1540. Sat May  8 11:19:30 1993  Ian Searle  (ian@quixote)
  1541.  
  1542.     * rlib/lu.r: New file, replaces old lu() built-in
  1543.  
  1544.     * /help/backsub: New file
  1545.  
  1546.     * help/factor: New file
  1547.  
  1548.     * fi_1.[ch]: Removed matrix_LU().
  1549.  
  1550.     * fi_2.c (matrix_Backsub): Added error checking
  1551.  
  1552. Thu May  6 22:51:34 1993  Ian Searle  (ian@quixote)
  1553.  
  1554.     * fi_2.c (matrix_Factor): new function.
  1555.  
  1556.     * fi_2.c (matrix_Backsub): New function
  1557.  
  1558. Tue May  4 19:31:38 1993  Ian Searle  (ian@quixote)
  1559.  
  1560.     * toolbox/erf.r: Added erfcc(). Mods to inverf().
  1561.  
  1562.     * main.c (rpclose): New function.
  1563.  
  1564.     * code.c (print): Mods to use `use_pager' flag when printing
  1565.     matrices. 
  1566.  
  1567. Mon May  3 21:37:21 1993  Ian Searle  (ian@quixote)
  1568.  
  1569.     * code.c (print): Add rule-of-thumb, to avoid using popen() so
  1570.     much. 
  1571.  
  1572. Sun May  2 13:14:39 1993  Ian Searle  (ian@quixote)
  1573.  
  1574.     * code.c (ret_from_func): fix screw-up in local list clean.
  1575.  
  1576.     * rlib/plot.r: Re-written.
  1577.  
  1578.     * toolbox/gamma.r: Mods, uses static, updates to any(), all()
  1579.     usage. Also fixed gamm[pq] arg blunder.
  1580.  
  1581. Sat May  1 16:53:17 1993  Ian Searle  (ian@quixote)
  1582.  
  1583.     * print.c (FPrintf): Check fp for NULL.
  1584.  
  1585. Fri Apr 30 23:27:11 1993  Ian Searle  (ian@quixote)
  1586.  
  1587.     * print.c (do_printf): Add check for strv == 0.
  1588.  
  1589. Thu Apr 29 18:16:10 1993  Ian Searle  (ian@quixote)
  1590.  
  1591.     * code.c (ret_from_func): Test rd.u.ent for NULL name ptr.
  1592.  
  1593. Wed Apr 28 19:04:21 1993  Ian Searle  (ian@quixote)
  1594.  
  1595.     * op_matrix.c (matrix_vec_assign): Mods to handle scalars at top. 
  1596.  
  1597.     * code.c (ret_from_fun): Handle local lists now.
  1598.  
  1599.     * op_matrix.c (matrix_assign): Mods to handle scalars at top.
  1600.  
  1601. Tue Apr 27 21:25:59 1993  Ian Searle  (ian@quixote)
  1602.  
  1603.     * rlib/ode23.r: More efficient, use a LIST inside ode23(), then
  1604.     use collapse() to return a matrix.
  1605.  
  1606.     * bltin.c (Diag): New function.
  1607.  
  1608.     * bltin.c (Ones): New function.
  1609.  
  1610. Sun Apr 25 11:17:09 1993  Ian Searle  (ian@quixote)
  1611.  
  1612.     * code.c (ret_from_func): Do not clean BTREE objects from local
  1613.     variable list.
  1614.  
  1615.     * matrix_op1.c (matrix_eq and related functions): Add ability to
  1616.     do strinf-matrix ops when one matrix is a 1-by-1.
  1617.  
  1618.     * relation.c: All functions. Use switch, additions for
  1619.     matrix-string rel-ops.
  1620.  
  1621.     * matrix_op2.c: New functions... matrix_string_??().
  1622.  
  1623.     * code.c (execute): in OP_POP_CLEAN, add test for non-null entity
  1624.     type. 
  1625.  
  1626.     * matrix_op1.c (matrix_Multiply??): Add check for either A or B
  1627.     being an empty matrix, return an empty matrix.
  1628.  
  1629.     * util.c (convert_all_to_matrix): Changed d to new in
  1630.     string-matrix convert.
  1631.  
  1632. Sat Apr 24 11:22:56 1993  Ian Searle  (ian@quixote)
  1633.  
  1634.     * btree.c (btree_Print): Print <<>> for empty-list, even when list
  1635.     has UNDEFs.
  1636.  
  1637.     * bltin.c (Exist): New function
  1638.  
  1639.     * rlib/plot.r: Make pinfo static.
  1640.  
  1641. Fri Apr 23 23:38:39 1993  Ian Searle  (ian@quixote)
  1642.  
  1643.     * rlab.y, scan.l, main.c: Started addition of fstatic()
  1644.     declaration. 
  1645.  
  1646. Wed Apr 21 19:29:08 1993  Ian Searle  (ian@quixote)
  1647.  
  1648.     * code.c (find_file_name): Go straight to file name since we know
  1649.     exactly where it is.
  1650.  
  1651. Tue Apr 20 16:47:34 1993  Ian Searle  (ian@quixote)
  1652.  
  1653.     * code.c (forcode): This is really where yesterday's list-bug was
  1654.     lurking. The problem was not installing tmp for-vectors on the
  1655.     tmp-list. 
  1656.  
  1657. Mon Apr 19 19:38:39 1993  Ian Searle  (ian@quixote)
  1658.  
  1659.     * r_string.c (string_Read): Use fscanf() instead of getc() to get
  1660.     the last \n. This seems to work ?.
  1661.  
  1662.     * list.c (list_DetachNodeByAddr): Added check for n == 0. This may
  1663.     happen in some rare cases when the list is really clean.
  1664.  
  1665.     * code.c (ifcode, whilecode): Handle empty matrices as if(),
  1666.     while() args (eval to 0).
  1667.  
  1668.     * bltin.c (Read): Try and print out type if failure.
  1669.  
  1670.     * rlib/sign.r: Removed scalar option.
  1671.  
  1672.     * rlib/fix.r: New file
  1673.  
  1674.     * config/config.linux: Updated file from F.F.Yap.
  1675.  
  1676. Sun Apr 18 12:16:05 1993  Ian Searle  (ian@quixote)
  1677.  
  1678.     * Release version 0.75 beta
  1679.  
  1680.     * rlib/ode23.r: Mods to make ode23() operate on column solutions,
  1681.     and independent of y0 orientation.
  1682.  
  1683.     * toolbox/ode78.r: New function (from netlib).
  1684.  
  1685. Sat Apr 17 09:27:52 1993  Ian Searle  (ian@quixote)
  1686.  
  1687.     * toolbox/poly.r: Updated all() usage.
  1688.  
  1689.     * rlab.y: Moved function assign production to statement level so
  1690.     that trailing newline, or semicolon can be left out.
  1691.  
  1692.     * test: Incorporated getline() tests into test.
  1693.  
  1694. Thu Apr 15 19:46:57 1993  Ian Searle  (ian@quixote)
  1695.  
  1696.     * getline.c: Overhauled getline_scanner(), collect_decinal(), and
  1697.     collect_string() so that getline() will handle EOF.
  1698.  
  1699. Wed Apr 14 20:35:08 1993  Ian Searle  (ian@quixote)
  1700.  
  1701.     * test: Added a few more simple function tests.
  1702.  
  1703. Mon Apr 12 18:58:01 1993  Ian Searle  (ian@quixote)
  1704.  
  1705.     * util.c (convert_to_matrix): Removed call to remove_tmp_detroy(),
  1706.     to fix chol(1+1i) core dump.
  1707.  
  1708. Sun Apr 11 10:21:28 1993  Ian Searle  (ian@quixote)
  1709.  
  1710.     * rlib/cum[sum|prod].r: Re-write per Brad's suggestion (more
  1711.     efficient). 
  1712.  
  1713.     * init.c: Ordered bltin table for faster lookup.
  1714.  
  1715.     * util.[ch] (convert_all_to_matrix): New function.
  1716.  
  1717.     * op_matrix.c (matrix_vector_sub): Allow s[1] to work for a scalar
  1718.     string. 
  1719.  
  1720.     * bltin.c (Size, Length): Change the way we report on strings.
  1721.  
  1722.     * code.c (list_member): Add n, nr, nc as string attributes.
  1723.  
  1724. Sat Apr 10 10:46:00 1993  Ian Searle  (ian@quixote)
  1725.  
  1726.     * config.*: Fixed up obsolete comments around #include <float.h>
  1727.  
  1728.     * fi_1.c (matrix_inverse_?): Add call to matrix_Rcond() to check
  1729.     for ill-conditioned input.
  1730.  
  1731. Sun Apr  4 15:02:21 1993  Ian Searle  (ian@quixote)
  1732.  
  1733.     * fi_1.c (matrix_is_symmetric): Removed.
  1734.  
  1735. Sat Apr  3 00:05:57 1993  Ian Searle  (ian@quixote)
  1736.  
  1737.     * r_string.c (string_Read): Handle zero length string, and newline
  1738.     correctly. 
  1739.  
  1740.     * code.c (assign): Fix bungle in assign symbol table.
  1741.  
  1742.     * Copied bandred from testmatrices to toolbox.
  1743.  
  1744.     * Added contrib directory.
  1745.  
  1746.     * print.c (Close): Change test from `== 0' to `!= 1'.
  1747.  
  1748.     * test: Added tests for some of the more basic builtin functions
  1749.     (abs, max, sum, floor,...).
  1750.  
  1751.     * matrix_op1.c (matrix_Abs): Add #define rabs...
  1752.  
  1753.     * util.c (get_num_scalar_val): Put break where appropriate.
  1754.  
  1755. Fri Apr  2 20:50:05 1993  Ian Searle  (ian@quixote)
  1756.  
  1757.     * Many changes to get **return_ptr correct.
  1758.  
  1759.     * many small changes to get gcc -Wall  to shut up.
  1760.  
  1761.     * rfile.c (print_rfiles): Add extra space, and fflush() to force
  1762.     popen'ed ptr to behave correctly.
  1763.  
  1764.     * fi_1.c, matrix.c: Put #define rabs in.
  1765.  
  1766.     * util.c (btree_get_node_names): return a row matrix.
  1767.  
  1768.     * rlab.y, scan.l, symbol.[ch], util.c: Added $$ as globla symbol
  1769.     table constant.
  1770.  
  1771. Thu Apr  1 18:44:55 1993  Ian Searle  (ian@quixote)
  1772.  
  1773.     * Changed many error_1 messages, `wrong #' to Wrong number'.
  1774.  
  1775.     * main.c (warning_?): Fixed fprintf FILE ptr arg.
  1776.  
  1777. Wed Mar 31 19:24:13 1993  Ian Searle  (ian@quixote)
  1778.  
  1779.     * bltin.c (Length): Make compatible (partly) with Matlab.
  1780.  
  1781.     * alloca.c: Add #ifndef __GNUC__ to elminate supplied alloca if
  1782.     gcc is being used.
  1783.  
  1784.     * config/config.NeXT: Uncomment HAVE_PROTOTYPES, remove
  1785.     declarations at end of file.
  1786.  
  1787. Tue Mar 30 23:26:35 1993  Ian Searle  (ian@quixote)
  1788.  
  1789.     * code.c (list_el_create): Allow U_FUNCTION as valid type in
  1790.     switch. 
  1791.  
  1792. Sun Mar 28 11:24:02 1993  Ian Searle  (ian@quixote)
  1793.  
  1794.     * matrix_op1.c (matrix_El_Div): use matrix_screen_string().
  1795.  
  1796.     * bltin.c (CD): New function.
  1797.  
  1798.     * op_matrix.c (matrix_create): fix [2i], initialize real part.
  1799.  
  1800.     * toolbox/redit.r: New rfile.
  1801.  
  1802.     * scan.l: Take lineno++ out of # comment rule.
  1803.  
  1804. Sat Mar 27 09:27:01 1993  Ian Searle  (ian@quixote)
  1805.  
  1806.     * Now release v0.70.
  1807.  
  1808.     * op_matrix.c (matrix_stack): Fix type checking error in [1+2i;2]
  1809.     operation. 
  1810.  
  1811. Fri Mar 26 23:00:34 1993  Ian Searle  (ian@quixote)
  1812.  
  1813.     * Version 0.70 beta released.
  1814.  
  1815.     * scan.l: Added `#' as a commnet, now we can `#!/bin/rlab' our
  1816.     scripts. 
  1817.  
  1818. Wed Mar 24 00:02:06 1993  Ian Searle  (ian@quixote)
  1819.  
  1820.     * code.c (list_member): Make attribute look-up more consistent. 
  1821.  
  1822.     * bltin.c (Length): New function.
  1823.  
  1824.     * math_2.c (Sort): Make sort() a vector function.
  1825.  
  1826. Tue Mar 23 21:02:01 1993  Ian Searle  (ian@quixote)
  1827.  
  1828.     * matrix_op1.c (matrix_Any, matrix_All): Change to vector
  1829.     functions. 
  1830.  
  1831.     * util.c (get_datum_value): Fixed bug in extracting from 1-by-1.
  1832.  
  1833.     * matrix_op1.c: Most of the matrix relational functions. Added
  1834.     ability to recognize 1-by-1 matrices, and perform correct check.
  1835.  
  1836. Mon Mar 22 10:55:43 1993  Ian Searle  (ian@quixote)
  1837.  
  1838.     * rlab.y: Added production to opt_arg_list:
  1839.  
  1840.           | ',' error              { $$.count = 0; $$.off = 0; }
  1841.  
  1842.           The purpose of this rule is to prevent `sqrt ( , 2 )' from being
  1843.       a valid expression.
  1844.  
  1845. Sun Mar 21 23:02:59 1993  Ian Searle  (ian@quixote)
  1846.  
  1847.     * matrix_op2.c (matrix_Rdivide): Special case 1x1.
  1848.  
  1849. Sat Mar 20 14:36:19 1993  Ian Searle  (ian@quixote)
  1850.  
  1851.     * scan.l, rlab.y, code.[ch], dissasem.c, matrix_op1.[ch]: Added
  1852.     non-conjugate matrix transpose (.')
  1853.  
  1854.     * op.c (ent_ent_el_ldivide): Fixed typo in argument order.
  1855.  
  1856.     * op.c (rdivide, ldivide): Force all entities to be matrices, let
  1857.     low-level function determine appropriatness of dimensions.
  1858.  
  1859. Wed Mar 17 19:28:13 1993  Ian Searle  (ian@quixote)
  1860.  
  1861.     * btree.c (btree_Print): Change empty list printf().
  1862.  
  1863. Tue Mar 16 00:18:05 1993  Ian Searle  (ian@quixote)
  1864.  
  1865.     * matrix_op1.c (matrix_scalar_div2): Fix so 2./(1:3) works.
  1866.  
  1867.     * matrix_op1.c: Changes to handle [A] binop [3] conditions.
  1868.  
  1869. Mon Mar 15 20:56:18 1993  Ian Searle  (ian@quixote)
  1870.  
  1871.     * util.c (get_datum_value): Fix it so the function returns the
  1872.     value from a 1x1 matrix.
  1873.  
  1874.     * matrix_op2.[ch] (max, min): Modified max(), min() functions to
  1875.     behave more like MATLAB counterparts.
  1876.  
  1877.     * bltin.c (Reshape): mods to get rid of convert_to_scalar calls.
  1878.  
  1879.     * bltin.c (Scalar_cast, Matrix_cast): modified logix to get rid of
  1880.     convert_to_scalar().
  1881.  
  1882.     * print.c (SPrintf): Make sprintf() create the 1st argument if it
  1883.     is UNDEFINED.
  1884.  
  1885.     * math_1.c: Added
  1886.  
  1887.       if (targ.u.ent != arg.u.ent)
  1888.         remove_tmp_destroy (targ.u.ent);
  1889.       return;
  1890.  
  1891.       To all clean up temporary Datums when using convert_to_scalar.
  1892.  
  1893.  
  1894. Sun Mar 14 10:10:04 1993  Ian Searle  (ian@quixote)
  1895.  
  1896.     * scalar_op1.[ch], matrix_op1.[ch], complex.[ch], trig.c: add
  1897.     complex arc-trig functions.
  1898.  
  1899.     * scalar_op1.[ch], complex.[ch], trig.c, matrix_op1.[ch]: Add
  1900.     complex tangent.
  1901.  
  1902.     * rlab.y, code.[ch], dissamsem.c: Add `[:]' operation.
  1903.  
  1904. Sat Mar 13 12:34:46 1993  Ian Searle  (ian@quixote)
  1905.  
  1906.     * math_3.c (FFT): Add matrix fft capability.
  1907.  
  1908. Fri Mar 12 19:05:19 1993  Ian Searle  (ian@quixote)
  1909.  
  1910.     * op_matrix.c (matrix_transpose): Fix scalar complex transpose.
  1911.  
  1912.     * code.c (forcode): Add complex loop capability.
  1913.  
  1914.     * math_2.c (Chol, Det): Make them accept scalars as arguments.
  1915.  
  1916.     * math_2.c (Balance, Rcond): Make them accept scalars as arguments.
  1917.  
  1918.     * matrix.c (matrix_Print*): Add format for empty matrices.
  1919.  
  1920. Thu Mar 11 20:46:11 1993  Ian Searle  (ian@quixote)
  1921.  
  1922.     * math_1.c (Lu): Mods to handle scalar args.
  1923.  
  1924.     * eye.r: Mods to deal with new zeros().
  1925.  
  1926.     * bltin.c (Zero): Mods to allow it too handle combinations of
  1927.     matrices, and scalars.
  1928.  
  1929.     * rlab.y (yyparse): Small twiddle to newline production.
  1930.  
  1931. Tue Mar  9 19:49:06 1993  Ian Searle  (ian@quixote)
  1932.  
  1933.     * code.[ch], rlab.y, dissasem.c: Add OP_EMPTY_MATRIX_CREATE.
  1934.  
  1935.     * matrix.c (extraction functions): Small changes to extraction
  1936.     functions to handle NULL index matrices.
  1937.  
  1938.     * matrix_op2.c (matrix_Find): Fix logic around realloc() to avoid
  1939.     calling realloc with a zero argument.
  1940.  
  1941. Mon Mar  8 19:52:17 1993  Ian Searle  (ian@quixote)
  1942.  
  1943.     * op_matrix.c (matrix_sub): Make double indexing error checking
  1944.     behave like single indexing error-checking.
  1945.  
  1946.     * code.c (function_call): Convert CONSTANT args to scalars. 
  1947.  
  1948.     * matrix_op2.c (matrix_Find): Check for empty matrix when
  1949.     realloc'ing. 
  1950.  
  1951.     * matrix_op2.c (Prod): Fix complex products.
  1952.  
  1953. Sat Mar  6 11:31:50 1993  Ian Searle  (ian@quixote)
  1954.  
  1955.     * matrix.c (matrix_Write): Increased number of significant digits
  1956.     for output.
  1957.  
  1958.     * fi_[12].c: Remove the dependencies on f2c.h.
  1959.  
  1960. Fri Mar  5 17:16:41 1993  Ian Searle  (ian@quixote)
  1961.  
  1962.     * bltin.c (Show): Check for NULL names.
  1963.  
  1964. Sun Feb 28 10:25:53 1993  Ian Searle  (ian@quixote)
  1965.  
  1966.     * code.c (list_member): Made SCALAR attributes cosistent with
  1967.     MATRIX attributes.
  1968.  
  1969.     * matrix_op2.c (matrix_scalar_Pow): New function.
  1970.  
  1971.     * version.h: Changed version string. I am makeing the switch to
  1972.     BETA status.
  1973.  
  1974.     * matrix_op2.c (matrix_Max/matrix_Min): Small changes to
  1975.     algorithms. 
  1976.  
  1977. Thu Feb 25 20:26:41 1993  Ian Searle  (ian@quixote)
  1978.  
  1979.     * matrix.[ch]: matrix_ExtractElement, matrix_ExtractColumn,
  1980.     matrix_ExtractRow: new functions.
  1981.  
  1982.     * op_matrix.c (matrix_sub): Modify function loginc to improve
  1983.     speed. 
  1984.  
  1985. Tue Feb 23 21:11:34 1993  Ian Searle  (ian@quixote)
  1986.  
  1987.     * Incorporated config.NeXT, and NeXT patches.
  1988.  
  1989. Mon Feb 22 20:10:56 1993  Ian Searle  (ian@quixote)
  1990.  
  1991.     * math_2.c (Sort): Finished adding sort() features, complex,
  1992.     scalars, etc...
  1993.  
  1994. Sun Feb 21 15:46:49 1993  Ian Searle  (ian@quixote)
  1995.  
  1996.     * main.c, code.c, rlab.h, fi_[12].c: Changed way we catch SIGINT.
  1997.  
  1998.     * math_3.c, matrix_op2.[ch]: Added builtin versions of sum(),
  1999.     prod().
  2000.  
  2001. Tue Feb 16 21:21:59 1993  Ian Searle  (ian@quixote)
  2002.  
  2003.     * scalar.c (scalar_Create): Mods for small speedup.
  2004.  
  2005.     * list_node.[ch] (listNode_IsNodeAttached): Replace function with
  2006.     a macro in an attempt to speed things up.
  2007.  
  2008. Mon Feb 15 20:55:30 1993  Ian Searle  (ian@quixote)
  2009.  
  2010.     * test: Added matrix multiply tests.
  2011.  
  2012.     * matrix_op1.c (matrix_Mul??): Mods to handle A or B 1x1.
  2013.  
  2014.     * mm.c (ccmpy): Modified for a little more speed (courtesy Fook
  2015.     Fah). 
  2016.  
  2017. Sat Feb 13 21:00:48 1993  Ian Searle  (ian@quixote)
  2018.  
  2019.     * mm.c: New file.
  2020.  
  2021.     * matrix_op1.c (matrix_Mul??): Use contributed C matrix multiply
  2022.     code (faster).
  2023.  
  2024. Fri Feb 12 23:26:11 1993  Ian Searle  (ian@quixote)
  2025.  
  2026.     * code.c (list_member): Add member refs for CONSTANTs.
  2027.  
  2028.     * code.c (list_member): Add `.n' as scalar member.
  2029.  
  2030. Tue Feb  9 17:56:25 1993  Ian Searle  (ian@quixote)
  2031.  
  2032.     * math_2.c (MaxI/MinI): maxi()/mini() now return a scalar index
  2033.     value. 
  2034.  
  2035. Mon Feb  8 18:34:55 1993  Ian Searle  (ian@quixote)
  2036.  
  2037.     * code.c (forcode): Yet another change. Now for() will handle
  2038.     CONSTANTs were there should be vectors, without barfing.
  2039.  
  2040.     * math_2.c (Sort): sort() now returns a list of the sorted vector,
  2041.     and the sorted indices.
  2042.  
  2043.     * code.c (list_create): Remove erroneous call to
  2044.     convert_to_scalar().
  2045.  
  2046.     * matrix.c (matrix_assign_vector): Add calls to matrix_Extend() to
  2047.     handle empty matrix RHS.
  2048.  
  2049.     * code.c (forcode): Now for-loops will handle user changing loop
  2050.     vector in the middle of loop execution.
  2051.  
  2052. Sun Feb  7 22:32:58 1993  Ian Searle  (ian@quixote)
  2053.  
  2054.     * math_1.c (Inv): Allow scalars as well as matrices.
  2055.  
  2056.     * code.c (forcode): Fixed STUPID bug in loop-vector destroy logic
  2057.     (there was none).
  2058.  
  2059. Sat Feb  6 11:07:32 1993  Ian Searle  (ian@quixote)
  2060.  
  2061.     * matrix_op2.c (matrix_[LR]divide): Add test to use solve_eq()
  2062.     when A is square.
  2063.  
  2064.     * matrix.c (matrix_CreateFill): Add empty vector creation
  2065.     capability. 
  2066.  
  2067.     * code.c (forcode): Add no-execute capability/test.
  2068.  
  2069. Fri Feb  5 19:03:45 1993  Ian Searle  (ian@quixote)
  2070.  
  2071.     * rlab.y, scan.l: Made rfile, and help commands more versatile.
  2072.  
  2073.     * math_2.c (MinI): Fix subscripts on m.
  2074.  
  2075.     * matrix_op2.c (matrix_Max): Fixed complex max(). maxc.r = 0.0,
  2076.     NOT maxc.r = -DBL_MAX. Same for matrix_Min().
  2077.  
  2078. Tue Feb  2 21:41:37 1993  Ian Searle  (ian@quixote)
  2079.  
  2080.     * matrix.c (matrix_CreateFill): Change d = ... use abs(d3).
  2081.  
  2082. Mon Feb  1 23:21:31 1993  Ian Searle  (ian@quixote)
  2083.  
  2084.     * matrix_op2.c (matrix_Mod): Added complex matrices.
  2085.  
  2086.     * math_1.c (Mod): Better type checking. Handles complex args now.
  2087.  
  2088.     * complex.[ch] (complex_Mod): new function.
  2089.  
  2090. Sun Jan 31 13:20:11 1993  Ian Searle  (ian@quixote)
  2091.  
  2092.     * matrix_op2.c (matrix_Mod): Add some error/type checking.
  2093.  
  2094. Fri Jan 29 23:48:42 1993  Ian Searle  (ian@quixote)
  2095.  
  2096.     * Makefile: Still trying to make friendlier.
  2097.  
  2098. Thu Jan 28 17:31:22 1993  Ian Searle  (ian@quixote)
  2099.  
  2100.     * matrix_op2.[ch] (matrix_Mod): New function.
  2101.  
  2102.     * matrix.c (matrix_print_complex): Fix sign in sprintf().
  2103.  
  2104.     * code.c (assign): Change "-1" to "-" for strncmp.
  2105.  
  2106. Wed Jan 27 22:27:02 1993  Ian Searle  (ian@quixote)
  2107.  
  2108.     * bltin.c (Size): try returning size = 1x1 for SCALAR.
  2109.  
  2110. Tue Jan 26 20:03:52 1993  Ian Searle  (ian@quixote)
  2111.  
  2112.     * main.c, rlab.y: Mods to error printing. Leave filename, line
  2113.     number off when reading from stdin.
  2114.  
  2115. Mon Jan 25 22:40:06 1993  Ian Searle  (ian@quixote)
  2116.  
  2117.     * version.h: New file.
  2118.  
  2119.     * bltin.c, matrix_op2.[ch]: Moved matrix_Find() to matrix_op2.c.
  2120.  
  2121.     * getline.c, print.c, scan.h: Moved scancode[][ into getline.c
  2122.  
  2123. Fri Jan 22 00:10:52 1993  Ian Searle  (ian@quixote)
  2124.  
  2125.     * rlab.y: Starting on if statement syntax rework.
  2126.  
  2127.     * bltin.c (Find): New function.
  2128.  
  2129.     * main.c (warning_?): Check (s == 0).
  2130.  
  2131. Sun Jan 17 12:37:11 1993  Ian Searle  (ian@quixote)
  2132.  
  2133.     * bltin.c (All): Make scalar args allowable.
  2134.  
  2135.     * bltin.c (Any): Make scalar args allowable.
  2136.  
  2137.     * scan.l (new_file): Made minor change so tha ctrl-d (EOF) now
  2138.     stops execution.
  2139.  
  2140. Fri Jan 15 19:55:57 1993  Ian Searle  (ian@quixote)
  2141.  
  2142.     * dissasem.c: Changed output formats.
  2143.  
  2144.     * main.c, rlab.y: Add line_nos.
  2145.  
  2146. Thu Jan 14 18:19:26 1993  Ian Searle  (ian@quixote)
  2147.  
  2148.     * code.c (function_default_ret): A few more touches on argument
  2149.     cleaning. 
  2150.  
  2151. Wed Jan 13 19:27:36 1993  Ian Searle  (ian@quixote)
  2152.  
  2153.     * code.c (ret_from_func): Finally got garbage-collection for
  2154.     function args right (I hope :-).
  2155.  
  2156. Sun Jan 10 15:14:12 1993  Ian Searle  (ian@quixote)
  2157.  
  2158.     * code.c (list_member): Add "type" to string elements.
  2159.  
  2160. Fri Jan  8 22:09:53 1993  Ian Searle  (ian@quixote)
  2161.  
  2162.     * scan.l (new_file): Twiddle with lineno to get it right AFTER a
  2163.     load(), or rfile command.
  2164.  
  2165. Wed Jan  6 21:59:50 1993  Ian Searle  (ian@quixote)
  2166.  
  2167.     * code.c, rlab.y (list_assign): Fix it so that `a.[i] = a'. Caused
  2168.     a chang in generated op-codes in rlab.y.
  2169.  
  2170. Tue Jan  5 22:50:47 1993  Ian Searle  (ian@quixote)
  2171.  
  2172.     * random.c (Rand): Fixed rand(m,n).
  2173.  
  2174. Sat Jan  2 18:23:59 1993  Ian Searle  (ian@quixote)
  2175.  
  2176.     * rlab.y: mods to STRING ptr handling.
  2177.  
  2178.     * main.c: Add ip option. Use cat(1) as pager if -p is specified. 
  2179.  
  2180. Fri Jan  1 11:49:53 1993  Ian Searle  (ian@quixote)
  2181.  
  2182.     * getline.c (getline_scanner): Added quoted string scanning
  2183.     capability. 
  2184.  
  2185.     * print.c (get_file_ds): Use mode argument in popen() call.
  2186.  
  2187. Thu Dec 31 16:20:11 1992  Ian Searle  (ian@quixote)
  2188.  
  2189.     * getline.c: New File
  2190.  
  2191.     * scan.h: New File
  2192.  
  2193. Wed Dec 30 14:42:06 1992  Ian Searle  (ian@quixote)
  2194.  
  2195.     * matrix_op2.[ch]: Changed matrix_ReadColumn() to
  2196.     matrix_ReadGeneric(), added matrix_WriteGeneric().
  2197.  
  2198.     * bltin.c: Changed ReadV() to ReadM(). Added WriteM().
  2199.  
  2200. Tue Dec 29 09:30:53 1992  Ian Searle  (ian@quixote)
  2201.  
  2202.     * rfile.c: set pfile = 0 after successful pclose().
  2203.  
  2204.     * code.c (print): Set pfile = 0 after succesful pclose().
  2205.  
  2206. Wed Dec 23 16:56:11 1992  Ian Searle  (ian@quixote)
  2207.  
  2208.     * print.c (rfile_Destroy): Fixed braces on outside if.
  2209.  
  2210. Sat Dec 19 21:00:28 1992  Ian Searle  (ian@quixote)
  2211.  
  2212.     * print.c (do_printf): Changed error messages, and added another
  2213.     argcnt check.
  2214.  
  2215. Sun Dec 13 14:09:37 1992  Ian Searle  (ian@quixote)
  2216.  
  2217.     * matrix.c (matrix_Read): Fix complex read indexing
  2218.     (NWRITE+start-1). 
  2219.  
  2220.     * matrix.c (matrix_write_real): Fix `columns X through Y' output. 
  2221.  
  2222.     * math_2.c (Eig): Add calls to matrix_SetName().
  2223.  
  2224.     * lots!: Changed copy_string_ptr() to cpstr().
  2225.  
  2226. Thu Dec 10 19:23:42 1992  Ian Searle  (ian@quixote)
  2227.  
  2228.     * code.c (print): Print to stdout if popen() fails.
  2229.  
  2230.     * bltin.c (Read): close file after reading
  2231.  
  2232.     * matrix.c (matrix_Read): Fixe for-test while scanf'ing.
  2233.  
  2234. Sun Dec  6 13:00:50 1992  Ian Searle  (ian@quixote)
  2235.  
  2236.     * main.c (pipecatch): New function.
  2237.  
  2238.     * rfile.c: Make FILE *pfile static so we can pclose() if SIGPIPE
  2239.     occured. 
  2240.  
  2241.     * code.c (print): Use popen() for matrix output.
  2242.  
  2243.     * main.c (run): Catch SIGPIPE.
  2244.  
  2245. Fri Dec  4 17:27:08 1992  Ian Searle  (ian@quixote)
  2246.  
  2247.     * rfile.c (print_rfiles): Test for nfile == 0.
  2248.  
  2249. Thu Dec  3 19:57:50 1992  Ian Searle  (ian@quixote)
  2250.  
  2251.     * main.c (main): Add -l option.
  2252.  
  2253.     * main.c: Remove RLAB_LS_CMD.
  2254.  
  2255. Wed Dec  2 18:19:27 1992  Ian Searle  (ian@quixote)
  2256.  
  2257.     * Put power-op higher in precedence than unary-minus
  2258.  
  2259. Mon Nov 30 20:11:14 1992  Ian Searle  (ian@quixote)
  2260.  
  2261.     * math_2.c (Sort): Added string sort.
  2262.  
  2263.     * rfile.c: Finish up, still crude, but functionality is there.
  2264.  
  2265. Sun Nov 29 22:08:09 1992  Ian Searle  (ian@quixote)
  2266.  
  2267.     * rfiile.c (help): Moved help functionality to rfile.c
  2268.  
  2269. Sat Nov 28 21:10:43 1992  Ian Searle  (ian@quixote)
  2270.  
  2271.     * rlab.y: Move HELP, and RFILE productions up to program:
  2272.  
  2273.     * rfile.c: New file.
  2274.  
  2275. Mon Nov 23 23:16:39 1992  Ian Searle  (ian@quixote)
  2276.  
  2277.     * rlab.y: Clean-ups, comments.
  2278.  
  2279. Sun Nov 22 10:26:00 1992  Ian Searle  (ian@quixote)
  2280.  
  2281.     * Released v0.30.
  2282.  
  2283.     * Fixed goof in rlab.y ( parens around vec_expr ).
  2284.  
  2285.     * mathl.c: New file
  2286.  
  2287.     * rlab.y: Added '(' vec_expr ')' to vec_expr: rule.
  2288.  
  2289.     * mem.c (xmalloc, xrealloc): New functions. Now (hopefully) people
  2290.     can use most any compiler, and the provided alloca.c, and not get
  2291.     unresolved externals.
  2292.  
  2293.     * matrix.c (matrix_print_real): Use sprintf() now.
  2294.  
  2295.     * math_1.c (Round) New function, uses math library rint().
  2296.  
  2297. Sat Nov 21 22:13:34 1992  Ian Searle  (ian@quixote)
  2298.  
  2299.     * bltin.c (tic, toc): New functions.
  2300.  
  2301.     * scan.l, rlab.y: Trying to get error handling right so that the
  2302.     extra newline isn't needed.
  2303.  
  2304. Fri Nov 20 19:21:05 1992  Ian Searle  (ian@quixote)
  2305.  
  2306.     * fi_1.c (matrix_Norm): Fix 2-norm mistake.
  2307.  
  2308.     * bltin.c (Inf): New function.
  2309.  
  2310. Thu Nov 19 20:11:32 1992  Ian Searle  (ian@quixote)
  2311.  
  2312.     * scan.l (new_file): Fixed lineno bug, wasn't setting correct
  2313.     value in lnstack[].
  2314.  
  2315.     * config.h: Added choices for CONST, and BIG_ENDIAN,
  2316.     LITTLE_ENDIAN. 
  2317.  
  2318.     * bltin.c (Nan): New function.
  2319.  
  2320. Wed Nov 18 20:51:26 1992  Ian Searle  (ian@quixote)
  2321.  
  2322.     * config.h: Added option to use errno checking, or matherr().
  2323.  
  2324.     * bltin.c (matherr): New function.
  2325.  
  2326. Mon Nov 16 19:11:54 1992  Ian Searle  (ian@quixote)
  2327.  
  2328.     * bltin.c, main.c, scalar.c, matrix.c: Changed format() operation.
  2329.     Now format() works on REAL and COMPLEX.
  2330.  
  2331.     * main.c (init_misc): popen() FILE *paged_output, for paged matrix
  2332.     output. 
  2333.  
  2334.     * main.c: Removed inc_jmp_buff... and dec_jmp.... Replaced with
  2335.     jmp1, jmp2. Two simple variables should do the job.
  2336.  
  2337.     * scan.l (new_file): bptr = 0, if arg = 0.
  2338.  
  2339. Sun Nov 15 12:08:42 1992  Ian Searle  (ian@quixote)
  2340.  
  2341.     * matrix_*.c, bltin.c: Add calls to matrix_screen_string().
  2342.  
  2343.     * matrix.h (matrix_screen_string): Check for MTYPE == STRING, if
  2344.     TRUE, issue warning and longjmp().
  2345.  
  2346. Sat Nov 14 14:05:58 1992  Ian Searle  (ian@quixote)
  2347.  
  2348.     * sscan.l (new_file): Another overhaul, maybe someday I'll get it
  2349.     right.
  2350.  
  2351.     * rlab.y: Removed YYERROR usage, and replaced with longjmp().
  2352.  
  2353. Fri Nov 13 20:54:28 1992  Ian Searle  (ian@quixote)
  2354.  
  2355.     * main.c: Make jmp_buff an array. Change setjmp() call when
  2356.     loopong through filename arguments. If we run out of jmp_buff[]
  2357.     array, then STOP program.
  2358.  
  2359. Wed Nov 11 23:11:30 1992  Ian Searle  (ian@quixote)
  2360.  
  2361.     * matrix_op1.c (matrix_MultiplyCC): Call BLAS-3 ZGEMM().
  2362.  
  2363. Tue Nov 10 19:06:47 1992  Ian Searle  (ian@quixote)
  2364.  
  2365.     * matrix.c (matrix_CreateCLoad): Fixed bad matrix ref.
  2366.  
  2367.     * matrix.c (matrix_read_string): Completed.
  2368.  
  2369. Mon Nov  9 20:00:24 1992  Ian Searle  (ian@quixote)
  2370.  
  2371.     * !!! ADDITIONS TO LAPACK-C LIBRARY !!!
  2372.  
  2373.     * matrix_op2.c (matrix_Ldivide): Checks appropriate dimensions and
  2374.     calls matrix_LS.
  2375.  
  2376.     * fi_2.c (matrix_LS): New functions.
  2377.  
  2378.     * fi_1.c, fi_2.c: New files.
  2379.  
  2380.     * fi.c (matrix_Norm): The 2-norm is the ration of 1st/last
  2381.     singular values.
  2382.  
  2383. Sun Nov  8 10:39:10 1992  Ian Searle  (ian@quixote)
  2384.  
  2385.     * op_matrix.c (matrix_*_assign): Add call to matrix_gt_zero() to
  2386.     check indices for validity.
  2387.  
  2388.     * matrix_op2.c (matrix_gt_zero): New function
  2389.  
  2390.     * op_matrix.c (matrix_*_assign): Create LHS after looking at RHS
  2391.     type. 
  2392.  
  2393.     * op_append.c (matrix_string_app): Fix indexing bug that went
  2394.     passed end of array.
  2395.  
  2396.     * random.c (SRand): Add "clock" arg to enable setting seed from
  2397.     the clock.
  2398.  
  2399. Mon Nov  2 18:54:49 1992  Ian Searle  (ian@quixote)
  2400.  
  2401.     * matrix_op1.c (Sqrt, Log,...): Check for argument elements less
  2402.     than 0.
  2403.  
  2404.     * scalar_op1.c, matrix_op1.c (Log10): Added complex log10()
  2405.     capability. 
  2406.  
  2407.     * op_matrix.c (matrix_sub): Fix reduction of matrix string to
  2408.     scalar string.
  2409.  
  2410.     * matrix.c (matrix_print_string): Check for NULL ptrs before using
  2411.     strlen(). 
  2412.  
  2413.     * matrix.c (matrix_CreateS): Init string ptrs to 0 (for now).
  2414.  
  2415.     * util.c (print_What): Set unused matrix string ptrs to NULL
  2416.     string. 
  2417.  
  2418. Sun Nov  1 15:54:36 1992  Ian Searle  (ian@quixote)
  2419.  
  2420.     * matrix.[ch], op_append.c, op_matrix.c: Started in on adding
  2421.     matrices that contain STRING elements.
  2422.  
  2423. Sat Oct 31 11:34:13 1992  Ian Searle  (ian@quixote)
  2424.  
  2425.     * code.c, (ret_from_function): Do not try and clean argument
  2426.     variables while popping them off the stack.
  2427.  
  2428.     * bltin.c, (Name): Force name() to return "CONSTANT" when the
  2429.     entity name is "-1" (an constant in an argument list").
  2430.  
  2431.     * math_1.c, fi.c: Improved arg error checking, and added 2-norm
  2432.     option to Norm.
  2433.  
  2434. Fri Oct 30 17:43:39 1992  Ian Searle  (ian@quixote)
  2435.  
  2436.     * op_matrix.c: (matrix_vector_sub): Allow indexing of a SCALAR
  2437.     (only a single index).
  2438.  
  2439.     * op.c, util.c: Make all operations return a SCALAR, if the result
  2440.     is a 1x1 MATRIX.
  2441.  
  2442.     * scan.l: Call signal (SIG_IGN) in yy_input() to avoid causing a
  2443.     flex error.
  2444.  
  2445. Thu Oct 29 19:58:05 1992  Ian Searle  (ian@quixote)
  2446.  
  2447.     * rlab.y, scan.l: Add prompt variable to change the prompt for IF,
  2448.     FOR, WHILE, and functions.
  2449.  
  2450.     * code.c (assign): Finished fixing garbage collection details. In
  2451.     this case I was copying SCALARS twice. Now v0.30 is as good as
  2452.     0.21. 
  2453.  
  2454. Wed Oct 28 21:50:42 1992  Ian Searle  (ian@quixote)
  2455.  
  2456.     * op_matrix.c (matrix_assign) Clean rhs value.
  2457.  
  2458.     * util.c (convert_to_matrix): Clean original SCALAR.
  2459.  
  2460.     * op_append.c (vector_create): Add garbage-collection.
  2461.  
  2462.     * scan.l (new_file): Simplified scheme for input stream switching.
  2463.  
  2464. Mon Oct 26 19:51:37 1992  Ian Searle  (ian@quixote)
  2465.  
  2466.     * matrix.c (matrix_ExtractVector): Made more MATLAB like, by
  2467.     looking at type of parent matrix when deciding what dimensions of
  2468.     extracted vector should be.
  2469.  
  2470.     * relation.c: All functions, made SCALAR rel-op MATRIX and
  2471.     vice-versa work.
  2472.  
  2473.     * main.c (intcatch): New function, catch user interrupts.
  2474.  
  2475. Sat Oct 24 08:29:22 1992  Ian Searle  (ian@quixote)
  2476.  
  2477.     * scan.l: Added trailing context rules for: 3./A conditions.
  2478.  
  2479.     * code.c (load_local_var): Make local vars UNDEFINED.
  2480.  
  2481. Fri Oct 23 18:08:03 1992  Ian Searle  (ian@quixote)
  2482.  
  2483.     * Started Adding el-ops to rlab.y, code.c...
  2484.  
  2485.     * Finished eradicating VECTORS
  2486.  
  2487. Tue Oct 20 23:47:39 1992  Ian Searle  (ian@quixote)
  2488.  
  2489.     * Embarking on experiment... remove VECTORS from the language as a
  2490.     separate data type. Replace ';' with ',' as arg separators.
  2491.  
  2492. Thu Oct 15 18:31:51 1992  Ian Searle  (ian@quixote)
  2493.  
  2494.     * code.c (find_lineno, find_filename): Remove function arg.
  2495.  
  2496. Wed Oct 14 19:34:10 1992  Ian Searle  (ian@quixote)
  2497.  
  2498.     * rlab.y, code.c: Add loff (100) to line numbers to avoid op-code
  2499.     collisions when searching backwards through the codes.
  2500.  
  2501. Mon Oct 12 20:35:55 1992  Ian Searle  (ian@quixote)
  2502.  
  2503.     * code.c (function_define): Fixe 1st line number assign to test
  2504.     for line #0.
  2505.  
  2506. Fri Oct  9 23:38:58 1992  Ian Searle  (ian@quixote)
  2507.  
  2508.     * bltin.c (Clear): New function.
  2509.  
  2510.     * Reverted back to UNDEFINED variables.
  2511.  
  2512. Thu Oct  8 19:28:47 1992  Ian Searle  (ian@quixote)
  2513.  
  2514.     * code.c (list_create): Make list creation use numerical index
  2515.     values. 
  2516.  
  2517.     * trig.c, vector_op2.[ch], matrix_op2.[ch]: Make atan2() take
  2518.     vectors and matrices as args.
  2519.  
  2520.     * function.c (function_Destroy): Check list existence before
  2521.     destroy. 
  2522.  
  2523. Wed Oct  7 18:59:12 1992  Ian Searle  (ian@quixote)
  2524.  
  2525.     * Start incorporating some of the simpler, more common op-code
  2526.     functions directly into the switch.
  2527.  
  2528.     * rlab.[yh], code.[ch], scan.l: Have finished most of the changes
  2529.     mention below. Additionally have made y = function()... workable.
  2530.  
  2531. Mon Oct  5 00:58:30 1992  Ian Searle  (ian@quixote)
  2532.  
  2533.     * rlab.[yh], code.[ch], function.[ch]: Extensive changes to allow
  2534.     copying a user-function. Some of the changes: 1) adding two new
  2535.     op-codes, OP_PUSH_ARG, OP_PUSH_LOCAL, which push local and arg
  2536.     vars without explicit ptr reference 2) the new op-codes caused
  2537.     changes to function_call(), function_ret(), ret_from_function(),
  2538.     push_var, bltin(), and some others. The new op-codes also caused
  2539.     some changes in the parser actions.
  2540.  
  2541. Sat Oct  3 20:28:15 1992  Ian Searle  (ian@quixote)
  2542.  
  2543.     * function.[ch], code.c: Allow user-functions to be assigned,
  2544.     copied. 
  2545.  
  2546.     * scalar.c, vector.c, matrix.c: *_Print() functions changed to
  2547.     print COMPLEX prettier.
  2548.  
  2549. Wed Sep 30 07:16:43 1992  Ian Searle  (ian@quixote)
  2550.  
  2551.     * rlab.y, scan.l: Parser is re-enbtrant now. (%pure_parser)
  2552.  
  2553. Mon Sep 28 19:27:29 1992  Ian Searle  (ian@quixote)
  2554.  
  2555.     * vector.c (vector_copy_complex): Fixed stupid indexing bugs.
  2556.  
  2557.     * math_3.c (FFT): Don't use rfftf() anymore, scale the result by
  2558.     1/N.
  2559.  
  2560.     * op.c, vector_op1.c, matrix_op2.c (power related functions):
  2561.     Added scalar^matrix, matrix^scalar, vector^vector.
  2562.  
  2563.     * vector.c, matrix.c (Create functions): Removed ASSERT(), and
  2564.     replaced with if-test for dimensions < 0.
  2565.  
  2566.     * random.c (Rand): Fix improper ref to arg.u.val, should be
  2567.     arg.u.ent. 
  2568.  
  2569. Sun Sep 27 20:44:54 1992  Ian Searle  (ian@quixote)
  2570.  
  2571.     * op_matrix.c (matrix_transpose): Allow transpose of a vector.
  2572.  
  2573.     * matrix_op1.c (matrix_Transpose): Make complex transpose,
  2574.     complex-conjugate transpose.
  2575.  
  2576.     * random.c (SRand): error() when srand() os called with zero
  2577.     valued arg.
  2578.  
  2579.     * matrix_comp.c (matrix_Eig_NEP): Malloc for vl now, even though
  2580.     we don't uses it.
  2581.  
  2582.     * scan.l: Made 1e6i work.
  2583.  
  2584.     * random.c (Srand): Fixed bozo mistakes in inner switch.
  2585.  
  2586.     * matrix_op1.c (matrix_Log10): Fixed assignment.
  2587.  
  2588.     * rlab.y, code.[ch]: Modified list creation syntax, and behavior.
  2589.  
  2590. Thu Sep 24 21:52:01 1992  Ian Searle  (ian@quixote)
  2591.  
  2592.     * code.c (list_create): Write variable names to objects, as well
  2593.     as ListNodes.
  2594.  
  2595.     * scalar.c, vector.c, matrix.c string.c btree.c (Write): Fixed
  2596.     write functions so that the default name is NOT written on the
  2597.     entity. 
  2598.  
  2599.     * math_1.c (Exp): Fixed exp() to take complex constant.
  2600.  
  2601. Wed Sep 23 19:08:13 1992  Ian Searle  (ian@quixote)
  2602.  
  2603.     * matrix.c (matrix_Print): Played with print format.
  2604.  
  2605.     * matrix_comp.c (NEP): Finally added calls to ZGEEV.
  2606.  
  2607.     * math_2.c (Max, Min): Fixed stupid bug in returning max and min
  2608.     values of a scalar.
  2609.  
  2610.     * config.rs6000: New header file.
  2611.  
  2612.     * math_3.c (IFFT): New function.
  2613.  
  2614. Tue Sep 22 23:08:14 1992  Ian Searle  (ian@quixote)
  2615.  
  2616.     * op.c: Added tests for STRINGS in +, -, *, / functions, must
  2617.     finish rest.
  2618.  
  2619.     * util.c (convert_to_scalar): Added more error checking.
  2620.  
  2621.     * scan.l: Start counting interactive lines at 0.
  2622.  
  2623.     * main.c (error_?): Break error message into multiplt lines.
  2624.  
  2625.     * vector.[ch] (vector_Extend): Removed type spec. Reduce scope of
  2626.     function, now it only does what the name implies, extend the
  2627.     vector if necc.
  2628.  
  2629.     * op_vector.c (vector_assign): Many changes, mostly centered
  2630.     aaround calling vector_Extend.
  2631.  
  2632. Mon Sep 21 19:34:23 1992  Ian Searle  (ian@quixote)
  2633.  
  2634.     * scan.l: Added rule to scanner to handle `1e-3'. No decimal
  2635.     point. 
  2636.  
  2637.     * Doc/rlab.tex: Finally started working on the doc again.
  2638.  
  2639.     * rlab.y (yyparse): Removed silly restrictions in for, if, while,
  2640.     and function statements forcing users to type `{' on the same line
  2641.     as the `)'.
  2642.  
  2643.     * config.h: Added FOPEN_MAX for users who don't have one to set.
  2644.  
  2645.     * math_3.c (FFT): Added vector and matrix fft capability. This is
  2646.     neither finished, or checked out. Will undoubtedly change.
  2647.  
  2648. Sun Sep 20 19:01:13 1992  Ian Searle  (ian@quixote)
  2649.  
  2650.     * random.c (Rand): New file, some new functions. Finished hooking
  2651.     up rand ro RANLIB functions.
  2652.  
  2653.     * rlab.y (yyparse): Added ':' to precedence table (just above
  2654.     ','), and changed vec_expr production from:
  2655.  
  2656.          | vec_expr ',' expr  { code(OP_VEC_APPEND); }
  2657.  
  2658.      to:
  2659.  
  2660.          | vec_expr ',' vec_expr  { code(OP_VEC_APPEND); }
  2661.  
  2662.      This change makes expressions like `1,2,3:10' possible.
  2663.  
  2664.  
  2665.     * op_matrix.c (ent_ent_mat_promote): same as previous.
  2666.  
  2667.     * op_matrix.c (ent_con_mat_promote): same as previous.
  2668.  
  2669.     * op_matrix.c (con_ent_mat_promote): Fixed silly type checking
  2670.     errors that were preventing b[1;1,2] from working.
  2671.  
  2672. Sat Sep 19 00:00:39 1992  Ian Searle  (ian@quixote)
  2673.  
  2674.     * Picked up changes in config.sun4, bltin.h, btree.c, courtesy 
  2675.     R. M. Cothren.
  2676.  
  2677.     * op_vector.c (vector_assign): Improved error handling, and added
  2678.     more remove_tmp_destroy() calls.
  2679.  
  2680. Fri Sep 18 19:18:24 1992  Ian Searle  (ian@quixote)
  2681.  
  2682.     * op_vector.c  (vector_matrix_app): Same fix as below.
  2683.  
  2684.     * op_vector.c (vector_vector_app): Type in loop index (for REAL,
  2685.     COMPLEX) causing core dump. fix: add `+1'
  2686.  
  2687.     * code.c (bltin): Try and clean-up the argument from the tmplist.
  2688.  
  2689.     * code.c (ret_from_function): call remove_tmp_destroy() when
  2690.     poping local and arg vars.
  2691.  
  2692.     * op_matrix.c (matrix_assign): Add calls to remove_tmp_destroy(). 
  2693.  
  2694.     * op_matrix.c (matrix_transpose): Add call to
  2695.     remove_tmp_destroy().
  2696.  
  2697. Thu Sep 17 21:28:23 1992  Ian Searle  (ian@quixote)
  2698.  
  2699.     * math_3.c (FFT): Not finished yet, but compiled and setup
  2700.     libCfftpack.a 
  2701.  
  2702.     * math_1.c (SRand): New function.
  2703.  
  2704.     * math_1.c (Rand): Converted to RANLIB usage.
  2705.  
  2706.     * print.f (do_printf): Fixed sval overflow bug. Put in a test, and
  2707.     an error message.
  2708.  
  2709. Tue Sep 15 22:31:16 1992  Ian Searle  (ian@quixote)
  2710.  
  2711.     * code.c (list_member): Added more error checking, and .class
  2712.     capability for user and bltin functions.
  2713.  
  2714.     * matrix_comp.c (matrix_Eig_GSEP): New function.
  2715.  
  2716. Mon Aug 10 00:05:41 1992  Ian Searle  (ian@quixote)
  2717.  
  2718.     * print.c (Printf): New Function.
  2719.  
  2720. Thu Aug  6 18:53:35 1992  Ian Searle  (ian@quixote)
  2721.  
  2722.     * matrix_comp.c (Qr): Add COMPLEX qr() matrix_QrZ().
  2723.  
  2724.     * matrix_comp.c (Qr): Add install() calls.
  2725.  
  2726.     * math_1.c (Solve): Allow vector, or column matrix as 2nd arg.
  2727.  
  2728.     * rlab.y (yyparse): Add error checking for break and continue
  2729.     outsid of loops.
  2730.  
  2731.     * bltin.c (Zero): if zero() called with no arg of 0 return a
  2732.     scalar. 
  2733.  
  2734. Wed Aug  5 20:50:50 1992  Ian Searle  (ian@quixote)
  2735.  
  2736.     * Added ./lib/editline; a readline(3) like library, but smaller.
  2737.  
  2738. Tue Aug  4 21:36:39 1992  Ian Searle  (ian@quixote)
  2739.  
  2740.     * code.c (function_return): Set the name of an object to 0 when we
  2741.     zero out the name of the entity, returning local datums only.
  2742.  
  2743.     * bltin.c (Size): Make size() return 1 for size of a scalar.
  2744.  
  2745.     * code.c, functi[ch]: Added capability to print() to print
  2746.     function op-codes when -d is used.
  2747.  
  2748.     * Finished up most of relational ops (matrix-scalar).
  2749.  
  2750. Sun Aug  2 11:09:21 1992  Ian Searle  (ian@quixote)
  2751.  
  2752.     * relation.c, complex.[ch], scalar_op1.[ch], vector_op1.[ch]:
  2753.     working on finishing up the vector - scalar realtional ops.
  2754.  
  2755.     * code.c (find_lineno): (*--p) prevented checking current lineno. 
  2756.  
  2757. Fri Jul 31 20:39:38 1992  Ian Searle  (ian@quixote)
  2758.  
  2759.     * code.[ch], rlab.y, dissassem.c, main.c: Added file name, and
  2760.     line numbers to error messages. Some new functions...
  2761.     find_lineno(), find_file_name().
  2762.  
  2763. Tue Jul 28 23:38:03 1992  Ian Searle  (ian@quixote)
  2764.  
  2765.     * Have added the basics of complex variables, constants, etc...
  2766.     Have re-checked everything in after extensive changes to many
  2767.     files, and some brand-new files.
  2768.  
  2769.